diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-08 19:30:10 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-08 19:30:10 +0000 |
commit | e1caf0011e32fc3cb33f97d711cbebe0d5fb79bd (patch) | |
tree | 0af0379f7f2496e842187b725a25bbc98de78359 /libc/stdio | |
parent | 24d3cb8e5e2f3d149a54e18b3bdf588bc4d3bc3a (diff) |
Use internal \*_strerror_r
Diffstat (limited to 'libc/stdio')
-rw-r--r-- | libc/stdio/old_vfprintf.c | 2 | ||||
-rw-r--r-- | libc/stdio/perror.c | 2 | ||||
-rw-r--r-- | libc/stdio/vfprintf.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libc/stdio/old_vfprintf.c b/libc/stdio/old_vfprintf.c index aafc4a1ed..a9e452880 100644 --- a/libc/stdio/old_vfprintf.c +++ b/libc/stdio/old_vfprintf.c @@ -450,7 +450,7 @@ int vfprintf(FILE * __restrict op, register const char * __restrict fmt, if (*fmt == 'm') { flag[FLAG_PLUS] = '\0'; flag[FLAG_0_PAD] = ' '; - p = __glibc_strerror_r(errno, tmp, sizeof(tmp)); + p = __glibc_strerror_r_internal(errno, tmp, sizeof(tmp)); goto print; } #endif 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 } diff --git a/libc/stdio/vfprintf.c b/libc/stdio/vfprintf.c index 5275f53f7..793b991c5 100644 --- a/libc/stdio/vfprintf.c +++ b/libc/stdio/vfprintf.c @@ -1736,7 +1736,7 @@ static int _do_one_spec(FILE * __restrict stream, #ifdef __UCLIBC_HAS_PRINTF_M_SPEC__ } else if (ppfs->conv_num == CONV_m) { - s = __glibc_strerror_r(errno, buf, sizeof(buf)); + s = __glibc_strerror_r_internal(errno, buf, sizeof(buf)); goto SET_STRING_LEN; #endif } else { |