aboutsummaryrefslogtreecommitdiffstats
path: root/src/string/strerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/strerror.c')
-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;
}