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
*** empty log message ***
[rsync/rsync.git]
/
checksum.c
diff --git
a/checksum.c
b/checksum.c
index
68ce5c9
..
8d805b6
100644
(file)
--- a/
checksum.c
+++ b/
checksum.c
@@
-93,7
+93,7
@@
void file_checksum(char *fname,char *sum,off_t size)
{
int i;
MDstruct MD;
-
char
*buf;
+
struct map_struct
*buf;
int fd;
int len = size;
char tmpchunk[CSUM_CHUNK];
@@
-118,7
+118,7
@@
void file_checksum(char *fname,char *sum,off_t size)
sum_put(&MD,sum);
close(fd);
- unmap_file(buf
,size
);
+ unmap_file(buf);
}