From f9e52c4acbd8f53da1b083770c6aab9c67cb0368 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 2 Sep 2015 20:49:08 +0200 Subject: misc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/string/strerror.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/string') 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; } -- cgit v1.2.3-70-g09d2