fix errno_str without text error messages
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
8cf4685826
commit
98c68ca413
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue