9
0
Fork 0

fix errno_str without text error messages

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2009-04-03 14:58:10 +02:00
parent 8cf4685826
commit 98c68ca413
1 changed files with 2 additions and 0 deletions

View File

@ -151,6 +151,8 @@ const char *errno_str(void)
return str;
#else
sprintf(errno_string, "error %d", errno);
return errno_string;
#endif
}
EXPORT_SYMBOL(errno_str);