diff options
author | Wayne Davison <wayned@samba.org> | 2004-08-03 15:37:54 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2004-08-03 15:37:54 +0000 |
commit | bd1a581beee5402379052df58164f57d99c7757a (patch) | |
tree | a89a921ca93582ed1de21b40ae84fc5a53e7a326 /checksum.c | |
parent | 6e8a1782ab7ed52c623038821b335fd25578dea5 (diff) | |
download | android_external_rsync-bd1a581beee5402379052df58164f57d99c7757a.tar.gz android_external_rsync-bd1a581beee5402379052df58164f57d99c7757a.tar.bz2 android_external_rsync-bd1a581beee5402379052df58164f57d99c7757a.zip |
Use MAX_MAP_SIZE in the args to map_file().
Diffstat (limited to 'checksum.c')
-rw-r--r-- | checksum.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -102,7 +102,7 @@ void file_checksum(char *fname,char *sum,OFF_T size) if (fd == -1) return; - buf = map_file(fd, size, CSUM_CHUNK * 2048, 0); + buf = map_file(fd, size, MAX_MAP_SIZE, CSUM_CHUNK); mdfour_begin(&m); |