Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix comment.
[rsync/rsync.git]
/
checksum.c
diff --git
a/checksum.c
b/checksum.c
index
edc844f
..
0ce7259
100644
(file)
--- a/
checksum.c
+++ b/
checksum.c
@@
-91,9
+91,9
@@
void file_checksum(char *fname,char *sum,OFF_T size)
char tmpchunk[CSUM_CHUNK];
struct mdfour m;
char tmpchunk[CSUM_CHUNK];
struct mdfour m;
- memset(sum,0,
csum_length
);
+ memset(sum,0,
MD4_SUM_LENGTH
);
- fd =
open(fname,O_RDONLY
);
+ fd =
do_open(fname, O_RDONLY, 0
);
if (fd == -1) return;
buf = map_file(fd,size);
if (fd == -1) return;
buf = map_file(fd,size);