aboutsummaryrefslogtreecommitdiffstats
path: root/src/string/strerror.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-09-02 20:49:08 +0200
committerMattias Andrée <maandree@operamail.com>2015-09-02 20:49:08 +0200
commitf9e52c4acbd8f53da1b083770c6aab9c67cb0368 (patch)
tree755cb04726fbf6f44b42d94844fd78be6940dd7c /src/string/strerror.c
parentadd memcasecmp and wmemcasecmp (diff)
downloadslibc-f9e52c4acbd8f53da1b083770c6aab9c67cb0368.tar.gz
slibc-f9e52c4acbd8f53da1b083770c6aab9c67cb0368.tar.bz2
slibc-f9e52c4acbd8f53da1b083770c6aab9c67cb0368.tar.xz
misc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/string/strerror.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/string/strerror.c b/src/string/strerror.c
index 87f3261..ccce049 100644
--- a/src/string/strerror.c
+++ b/src/string/strerror.c
@@ -40,7 +40,7 @@
*/
char* strerror(int errnum)
{
- return strerror_l(errnum, CURRENT_LOCALE /* TODO not defined */);
+ return strerror_l(errnum, 0 /* TODO CURRENT_LOCALE, not defined */);
}
@@ -63,7 +63,8 @@ char* strerror(int errnum)
char* strerror_l(int errnum, locale_t locale)
{
/* TODO implement strerror_l */
- return (void) errnum, (void) locale, NULL:
+ return strerror(errnum);
+ (void) locale;
}