diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-04-03 14:58:10 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-04-06 11:08:34 +0200 |
commit | 98c68ca4135491d8b7d44309c4ea7fbd40e91ed7 (patch) | |
tree | e425d6b170b20c70a88ce9a716f436680cc0a8bf /common/misc.c | |
parent | 8cf468582612ef95dc277167b6e50e1add66dc86 (diff) | |
download | barebox-98c68ca4135491d8b7d44309c4ea7fbd40e91ed7.tar.gz |
fix errno_str without text error messages
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/misc.c')
-rw-r--r-- | common/misc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/misc.c b/common/misc.c index cf6584975f..43c1a0c62b 100644 --- a/common/misc.c +++ b/common/misc.c @@ -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); |