From 4dd29ad13268a9dfec24e4be4ad6304a05bed709 Mon Sep 17 00:00:00 2001
From: Manuel Novoa III <mjn3@codepoet.org>
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/misc/error/err.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'libc/misc')

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);
-- 
cgit v1.2.3