summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/clnt_perror.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-09 15:43:30 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-09 15:43:30 +0000
commit4f16d2e03a6cc2415a0eefcf50410d1943319543 (patch)
tree8d3132396738369409812b09668e5f39b3459096 /libc/inet/rpc/clnt_perror.c
parent06f8a796e2d4d88cfd89b21a2b7b195c3612ba81 (diff)
Implement hidden poll, switch user to hidden *printf/*scanf/poll
Diffstat (limited to 'libc/inet/rpc/clnt_perror.c')
-rw-r--r--libc/inet/rpc/clnt_perror.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libc/inet/rpc/clnt_perror.c b/libc/inet/rpc/clnt_perror.c
index 9173f17af..611ca998c 100644
--- a/libc/inet/rpc/clnt_perror.c
+++ b/libc/inet/rpc/clnt_perror.c
@@ -220,7 +220,7 @@ __clnt_sperror (CLIENT * rpch, const char *msg)
return NULL;
CLNT_GETERR (rpch, &e);
- len = sprintf (str, "%s: ", msg);
+ len = __sprintf (str, "%s: ", msg);
str += len;
(void) __strcpy(str, __clnt_sperrno(e.re_status));
@@ -246,12 +246,12 @@ __clnt_sperror (CLIENT * rpch, const char *msg)
case RPC_CANTSEND:
case RPC_CANTRECV:
strerror_r (e.re_errno, chrbuf, sizeof chrbuf);
- len = sprintf (str, "; errno = %s", chrbuf);
+ len = __sprintf (str, "; errno = %s", chrbuf);
str += len;
break;
case RPC_VERSMISMATCH:
- len= sprintf (str, _("; low version = %lu, high version = %lu"),
+ len= __sprintf (str, _("; low version = %lu, high version = %lu"),
e.re_vers.low, e.re_vers.high);
str += len;
break;
@@ -268,20 +268,20 @@ __clnt_sperror (CLIENT * rpch, const char *msg)
}
else
{
- len = sprintf (str, _("(unknown authentication error - %d)"),
+ len = __sprintf (str, _("(unknown authentication error - %d)"),
(int) e.re_why);
str += len;
}
break;
case RPC_PROGVERSMISMATCH:
- len = sprintf (str, _("; low version = %lu, high version = %lu"),
+ len = __sprintf (str, _("; low version = %lu, high version = %lu"),
e.re_vers.low, e.re_vers.high);
str += len;
break;
default: /* unknown */
- len = sprintf (str, "; s1 = %lu, s2 = %lu", e.re_lb.s1, e.re_lb.s2);
+ len = __sprintf (str, "; s1 = %lu, s2 = %lu", e.re_lb.s1, e.re_lb.s2);
str += len;
break;
}
@@ -315,7 +315,7 @@ __clnt_spcreateerror (const char *msg)
if (str == NULL)
return NULL;
ce = &get_rpc_createerr ();
- len = sprintf (str, "%s: ", msg);
+ len = __sprintf (str, "%s: ", msg);
cp = str + len;
(void) __strcpy(cp, __clnt_sperrno (ce->cf_stat));
cp += __strlen(cp);