Call map_file() with its new args, including a suggested window
[rsync/rsync.git] / checksum.c
index 3db63da..e3b8719 100644 (file)
@@ -102,7 +102,7 @@ void file_checksum(char *fname,char *sum,OFF_T size)
        if (fd == -1)
                return;
 
        if (fd == -1)
                return;
 
-       buf = map_file(fd, size, CSUM_CHUNK);
+       buf = map_file(fd, size, CSUM_CHUNK * 2048, 0);
 
        mdfour_begin(&m);
 
 
        mdfour_begin(&m);