From 4dd29ad13268a9dfec24e4be4ad6304a05bed709 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Thu, 28 Jul 2005 03:36:45 +0000 Subject: Fix string.h. Change our _susv3_strerror_r to __xpg_strerror_r for glibc compatibility. Also change _glibc_strerror_r to __glibc_strerror_r for consistency. --- libc/stdio/perror.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/stdio/perror.c') diff --git a/libc/stdio/perror.c b/libc/stdio/perror.c index 83db7689f..26a0cebd9 100644 --- a/libc/stdio/perror.c +++ b/libc/stdio/perror.c @@ -30,7 +30,7 @@ void perror(register const char *s) { char buf[64]; fprintf(stderr, "%s%s%s\n", s, sep, - _glibc_strerror_r(errno, buf, sizeof(buf))); + __glibc_strerror_r(errno, buf, sizeof(buf))); } #endif } -- cgit v1.2.3