summaryrefslogtreecommitdiff
path: root/src/string/strerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/strerror.c')
-rw-r--r--src/string/strerror.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/string/strerror.c b/src/string/strerror.c
index 29742e34..910d7490 100644
--- a/src/string/strerror.c
+++ b/src/string/strerror.c
@@ -2,7 +2,6 @@
#include <stdio.h>
#include <string.h>
#include "_safety.h"
-#undef strerror
# define __LONGEST_STRERR 64 /* FIXME */
@@ -27,6 +26,8 @@ char * strerror(int errnum)
return errstr;
}
+__check_1(char *, 0, strerror, int)
+
/***
converts the error number ARGUMENT(errnum) to an error message
string. The string returned should not be modified, and may be overwritten by