summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/clnt_perror.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-16 01:05:56 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-16 01:05:56 +0000
commit6a6ae6e1a26f32fd896b0a7b740129161bfb008b (patch)
tree818a08e98cc3cd7711fd077ea68c3c1a9d740f37 /libc/inet/rpc/clnt_perror.c
parenta1915d4502e23cc0c30e1c80a31971e71e7340a5 (diff)
Convert some users and get rid of __rpc_thread_createerr jump reloc, this was indeed a badly chosen name
Diffstat (limited to 'libc/inet/rpc/clnt_perror.c')
-rw-r--r--libc/inet/rpc/clnt_perror.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libc/inet/rpc/clnt_perror.c b/libc/inet/rpc/clnt_perror.c
index 611ca998c..eba539c95 100644
--- a/libc/inet/rpc/clnt_perror.c
+++ b/libc/inet/rpc/clnt_perror.c
@@ -37,6 +37,9 @@ static char sccsid[] = "@(#)clnt_perror.c 1.15 87/10/07 Copyr 1984 Sun Micro";
* Copyright (C) 1984, Sun Microsystems, Inc.
*
*/
+
+#define fputs __fputs
+
#define __FORCE_GLIBC
#include <features.h>
@@ -245,7 +248,7 @@ __clnt_sperror (CLIENT * rpch, const char *msg)
case RPC_CANTSEND:
case RPC_CANTRECV:
- strerror_r (e.re_errno, chrbuf, sizeof chrbuf);
+ __glibc_strerror_r_internal (e.re_errno, chrbuf, sizeof chrbuf);
len = __sprintf (str, "; errno = %s", chrbuf);
str += len;
break;
@@ -335,7 +338,7 @@ __clnt_spcreateerror (const char *msg)
(void) __strcpy(cp, " - ");
cp += __strlen(cp);
- strerror_r (ce->cf_error.re_errno, chrbuf, sizeof chrbuf);
+ __glibc_strerror_r_internal (ce->cf_error.re_errno, chrbuf, sizeof chrbuf);
(void) __strcpy(cp, chrbuf);
cp += __strlen(cp);
break;