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