summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/string/strerror.c')
-rw-r--r--src/lib/libc/string/strerror.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libc/string/strerror.c b/src/lib/libc/string/strerror.c
index 60591c6ee2..6496f50afd 100644
--- a/src/lib/libc/string/strerror.c
+++ b/src/lib/libc/string/strerror.c
@@ -28,7 +28,7 @@
28 */ 28 */
29 29
30#if defined(LIBC_SCCS) && !defined(lint) 30#if defined(LIBC_SCCS) && !defined(lint)
31static char *rcsid = "$OpenBSD: strerror.c,v 1.4 2003/06/02 20:18:38 millert Exp $"; 31static char *rcsid = "$OpenBSD: strerror.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $";
32#endif /* LIBC_SCCS and not lint */ 32#endif /* LIBC_SCCS and not lint */
33 33
34#include <string.h> 34#include <string.h>
@@ -43,8 +43,7 @@ static char *rcsid = "$OpenBSD: strerror.c,v 1.4 2003/06/02 20:18:38 millert Exp
43extern char *__strerror(int, char *); 43extern char *__strerror(int, char *);
44 44
45char * 45char *
46strerror(num) 46strerror(int num)
47 int num;
48{ 47{
49 static char buf[NL_TEXTMAX]; 48 static char buf[NL_TEXTMAX];
50 return __strerror(num, buf); 49 return __strerror(num, buf);