aboutsummaryrefslogtreecommitdiff
path: root/elf/dl-error.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-error.c')
-rw-r--r--elf/dl-error.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/elf/dl-error.c b/elf/dl-error.c
index 446ba62..03292ab 100644
--- a/elf/dl-error.c
+++ b/elf/dl-error.c
@@ -23,9 +23,6 @@
#include <unistd.h>
#include <elf/ldsodefs.h>
-/* This is the internal function we use to generate the error string. */
-extern char *_strerror_internal __P ((int, char *, size_t));
-
/* This structure communicates state between _dl_catch_error and
_dl_signal_error. */
struct catch
@@ -89,7 +86,7 @@ _dl_signal_error (int errcode,
objname ?: "", objname && *objname ? ": " : "",
errstring, errcode ? ": " : "",
(errcode
- ? _strerror_internal (errcode, buffer, sizeof buffer)
+ ? __strerror_r (errcode, buffer, sizeof buffer)
: ""), "\n", NULL);
}
}