diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-09-02 20:49:08 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-09-02 20:49:08 +0200 |
commit | f9e52c4acbd8f53da1b083770c6aab9c67cb0368 (patch) | |
tree | 755cb04726fbf6f44b42d94844fd78be6940dd7c /src/string/strerror.c | |
parent | add memcasecmp and wmemcasecmp (diff) | |
download | slibc-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.c | 5 |
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; } |