summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/svc_simple.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-03-18 11:28:51 +0000
committerEric Andersen <andersen@codepoet.org>2004-03-18 11:28:51 +0000
commitada7878ba0d097b798277aaa095e9d935a64fa99 (patch)
tree1d202eb0bb53ff5167d8ab91ac90e48034920438 /libc/inet/rpc/svc_simple.c
parent0c91a787b60e3a8804c1001724b039a0b80c7bb4 (diff)
Based on a patch from Alexandre Oliva, remove all reference to 'bzero' (which
is not a SuSv3 symbol). Rather than using __bzero internally per Alexandre's original patch, use memset instead.
Diffstat (limited to 'libc/inet/rpc/svc_simple.c')
-rw-r--r--libc/inet/rpc/svc_simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/inet/rpc/svc_simple.c b/libc/inet/rpc/svc_simple.c
index 81dead7a1..afc01bafa 100644
--- a/libc/inet/rpc/svc_simple.c
+++ b/libc/inet/rpc/svc_simple.c
@@ -161,7 +161,7 @@ universal (struct svc_req *rqstp, SVCXPRT *transp_l)
if (pl->p_prognum == prog && pl->p_procnum == proc)
{
/* decode arguments into a CLEAN buffer */
- bzero (xdrbuf, sizeof (xdrbuf)); /* required ! */
+ memset (xdrbuf, 0, sizeof (xdrbuf)); /* required ! */
if (!svc_getargs (transp_l, pl->p_inproc, xdrbuf))
{
svcerr_decode (transp_l);