summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-08 19:30:10 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-08 19:30:10 +0000
commite1caf0011e32fc3cb33f97d711cbebe0d5fb79bd (patch)
tree0af0379f7f2496e842187b725a25bbc98de78359 /libc/misc
parent24d3cb8e5e2f3d149a54e18b3bdf588bc4d3bc3a (diff)
Use internal \*_strerror_r
Diffstat (limited to 'libc/misc')
-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 113c2d94f..49e4fd725 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. */
- __xpg_strerror_r(errno, buf, sizeof(buf));
+ __xpg_strerror_r_internal(errno, buf, sizeof(buf));
}
__STDIO_AUTO_THREADLOCK(stderr);