summaryrefslogtreecommitdiffstats
path: root/common/misc.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:02:14 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:02:14 +0200
commitb2c5310d4da56237571bb8ea8d24b030c941030f (patch)
treec2c39f8c1ebdad8c3e69af86cb3c105434212edd /common/misc.c
parentfda840672d0eb662ddf4c7080532fe2dfeb0b0b1 (diff)
downloadbarebox-b2c5310d4da56237571bb8ea8d24b030c941030f.tar.gz
svn_rev_653
restructure tree, add reginfo command
Diffstat (limited to 'common/misc.c')
-rw-r--r--common/misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/misc.c b/common/misc.c
index ac6a43d..9485b17 100644
--- a/common/misc.c
+++ b/common/misc.c
@@ -41,7 +41,7 @@ void *sbrk (ptrdiff_t increment)
int errno;
#ifndef CONFIG_ERRNO_MESSAGES
-static char errno_str[5];
+static char errno_string[5];
#endif
const char *errno_str(void)
@@ -116,8 +116,8 @@ const char *errno_str(void)
return str;
#else
- sprintf(errno_str, "%d", errno);
- return errno_str;
+ sprintf(errno_string, "%d", errno);
+ return errno_string;
#endif
}