Use MAX_MAP_SIZE in the args to map_file().

This commit is contained in:
Wayne Davison committed 2004-08-03 15:37:54 +00:00
1 parent 6e8a1782ab
commit bd1a581bee
1 file changed
+1 -1
+1 -1
View File
@@ -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);