* errno.cc (__xpg_strerror_r): Add accidentally missing condition.
This commit is contained in:
parent
723223ab9f
commit
b7351dcfb1
|
@ -1,3 +1,7 @@
|
||||||
|
2011-03-03 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* errno.cc (__xpg_strerror_r): Add accidentally missing condition.
|
||||||
|
|
||||||
2011-03-02 Corinna Vinschen <corinna@vinschen.de>
|
2011-03-02 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler_procsys.cc (fhandler_procsys::open): Call worker exists
|
* fhandler_procsys.cc (fhandler_procsys::open): Call worker exists
|
||||||
|
|
|
@ -395,6 +395,7 @@ __xpg_strerror_r (int errnum, char *buf, size_t n)
|
||||||
return ERANGE;
|
return ERANGE;
|
||||||
int result = 0;
|
int result = 0;
|
||||||
char *error = strerror_worker (errnum);
|
char *error = strerror_worker (errnum);
|
||||||
|
if (!error)
|
||||||
{
|
{
|
||||||
__small_sprintf (error = _my_tls.locals.strerror_buf, "Unknown error %u",
|
__small_sprintf (error = _my_tls.locals.strerror_buf, "Unknown error %u",
|
||||||
(unsigned) errnum);
|
(unsigned) errnum);
|
||||||
|
|
Loading…
Reference in New Issue