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
/
dir
/
salvage.c
diff --git
a/src/dir/salvage.c
b/src/dir/salvage.c
index
1319680
..
83468d6
100644
(file)
--- a/
src/dir/salvage.c
+++ b/
src/dir/salvage.c
@@
-398,8
+398,8
@@
int DirSalvage (fromFile, toFile, vn, vu, pvn, pvu)
struct DirEntry *ep;
int entry;
- bzero(dot, sizeof(dot));
- bzero(dotdot, sizeof(dotdot));
+ memset(dot, 0, sizeof(dot));
+ memset(dotdot, 0, sizeof(dotdot));
dot[1] = vn;
dot[2] = vu;
dotdot[1] = pvn;