diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-03-18 11:28:51 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-03-18 11:28:51 +0000 |
commit | ada7878ba0d097b798277aaa095e9d935a64fa99 (patch) | |
tree | 1d202eb0bb53ff5167d8ab91ac90e48034920438 /libc/inet/rpc/svc_tcp.c | |
parent | 0c91a787b60e3a8804c1001724b039a0b80c7bb4 (diff) | |
download | uClibc-alpine-ada7878ba0d097b798277aaa095e9d935a64fa99.tar.bz2 uClibc-alpine-ada7878ba0d097b798277aaa095e9d935a64fa99.tar.xz |
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_tcp.c')
-rw-r--r-- | libc/inet/rpc/svc_tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/inet/rpc/svc_tcp.c b/libc/inet/rpc/svc_tcp.c index cd4bb657d..e7ec083c8 100644 --- a/libc/inet/rpc/svc_tcp.c +++ b/libc/inet/rpc/svc_tcp.c @@ -161,7 +161,7 @@ svctcp_create (int sock, u_int sendsize, u_int recvsize) } madesock = TRUE; } - bzero ((char *) &addr, sizeof (addr)); + memset ((char *) &addr, 0, sizeof (addr)); addr.sin_family = AF_INET; if (bindresvport (sock, &addr)) { |