@@ -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);
@@ -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
@@ -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)));
@@ -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;
} else {