summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/xdr_reference.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/xdr_reference.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/xdr_reference.c')
-rw-r--r--libc/inet/rpc/xdr_reference.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/inet/rpc/xdr_reference.c b/libc/inet/rpc/xdr_reference.c
index 383d8860a..1569e51b7 100644
--- a/libc/inet/rpc/xdr_reference.c
+++ b/libc/inet/rpc/xdr_reference.c
@@ -95,7 +95,7 @@ xdr_reference (xdrs, pp, size, proc)
(void) fputs (_("xdr_reference: out of memory\n"), stderr);
return FALSE;
}
- bzero (loc, (int) size);
+ memset (loc, 0, (int) size);
break;
default:
break;