mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-26 15:48:22 -04:00
Use MAX_MAP_SIZE in the args to map_file().
This commit is contained in:
1 parent
6e8a1782ab
commit
bd1a581bee
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user