summaryrefslogtreecommitdiff
path: root/libc/misc/error/err.c
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2005-07-28 03:36:45 +0000
committerManuel Novoa III <mjn3@codepoet.org>2005-07-28 03:36:45 +0000
commit4dd29ad13268a9dfec24e4be4ad6304a05bed709 (patch)
tree4a4f99f994be7d83063d5a710bc4920850dc8278 /libc/misc/error/err.c
parent0f8a6ff0ed7c57c636b79d8a7a9a78da837d763a (diff)
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.
Diffstat (limited to 'libc/misc/error/err.c')
-rw-r--r--libc/misc/error/err.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/error/err.c b/libc/misc/error/err.c
index 5c53e545f..0d0637148 100644
--- a/libc/misc/error/err.c
+++ b/libc/misc/error/err.c
@@ -34,7 +34,7 @@ static void vwarn_work(const char *format, va_list args, int showerr)
f = fmt + 11; /* At 11. */
if (showerr) {
f -= 4; /* At 7. */
- _susv3_strerror_r(errno, buf, sizeof(buf));
+ __xpg_strerror_r(errno, buf, sizeof(buf));
}
__STDIO_AUTO_THREADLOCK(stderr);