git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
convert-from-bsd-to-posix-string-and-memory-functions-20010807
[openafs.git]
/
src
/
vol
/
fssync.c
diff --git
a/src/vol/fssync.c
b/src/vol/fssync.c
index
003ce48
..
a17d60f
100644
(file)
--- a/
src/vol/fssync.c
+++ b/
src/vol/fssync.c
@@
-234,7
+234,7
@@
static int getport(addr)
{
int sd;
- bzero(addr, sizeof(*addr));
+ memset(addr, 0, sizeof(*addr));
assert((sd = socket(AF_INET, SOCK_STREAM, 0)) >= 0);
addr->sin_addr.s_addr = htonl(0x7f000001);
addr->sin_family = AF_INET; /* was localhost->h_addrtype */