* errno.cc (__xpg_strerror_r): Add accidentally missing condition.

This commit is contained in:
Corinna Vinschen 2011-03-03 09:50:13 +00:00
parent 723223ab9f
commit b7351dcfb1
2 changed files with 5 additions and 0 deletions

View File

@ -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>
* fhandler_procsys.cc (fhandler_procsys::open): Call worker exists

View File

@ -395,6 +395,7 @@ __xpg_strerror_r (int errnum, char *buf, size_t n)
return ERANGE;
int result = 0;
char *error = strerror_worker (errnum);
if (!error)
{
__small_sprintf (error = _my_tls.locals.strerror_buf, "Unknown error %u",
(unsigned) errnum);