From ada7878ba0d097b798277aaa095e9d935a64fa99 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 18 Mar 2004 11:28:51 +0000 Subject: 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. --- libc/inet/rpc/xdr_array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/inet/rpc/xdr_array.c') diff --git a/libc/inet/rpc/xdr_array.c b/libc/inet/rpc/xdr_array.c index e1cfaa6a0..450f5b2ea 100644 --- a/libc/inet/rpc/xdr_array.c +++ b/libc/inet/rpc/xdr_array.c @@ -117,7 +117,7 @@ xdr_array (xdrs, addrp, sizep, maxsize, elsize, elproc) (void) fputs (_("xdr_array: out of memory\n"), stderr); return FALSE; } - bzero (target, nodesize); + memset (target, 0, nodesize); break; case XDR_FREE: -- cgit v1.2.3