summaryrefslogtreecommitdiff
path: root/libc/stdio/perror.c
diff options
context:
space:
mode:
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
}