aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/_strerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/_strerror.c')
-rw-r--r--sysdeps/mach/_strerror.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/mach/_strerror.c b/sysdeps/mach/_strerror.c
index 7bca7e8bd9..5be7d272a8 100644
--- a/sysdeps/mach/_strerror.c
+++ b/sysdeps/mach/_strerror.c
@@ -34,7 +34,7 @@
/* Return a string describing the errno code in ERRNUM. */
char *
-_strerror_internal (int errnum, char *buf, size_t buflen)
+__strerror_r (int errnum, char *buf, size_t buflen)
{
int system;
int sub;
@@ -115,3 +115,4 @@ _strerror_internal (int errnum, char *buf, size_t buflen)
return (char *) _(es->subsystem[sub].codes[code]);
}
+weak_alias (__strerror_r, strerror_r)