summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/xdr_reference.c
diff options
context:
space:
mode:
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;