summaryrefslogtreecommitdiff
path: root/libc/stdio/perror.c
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/stdio/perror.c
parent24d3cb8e5e2f3d149a54e18b3bdf588bc4d3bc3a (diff)
Use internal \*_strerror_r
Diffstat (limited to 'libc/stdio/perror.c')
-rw-r--r--libc/stdio/perror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/perror.c b/libc/stdio/perror.c
index d69ccd5c3..9edcf4efb 100644
--- a/libc/stdio/perror.c
+++ b/libc/stdio/perror.c
@@ -30,7 +30,7 @@ void attribute_hidden __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_internal(errno, buf, sizeof(buf)));
}
#endif
}