From bd1a581beee5402379052df58164f57d99c7757a Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Tue, 3 Aug 2004 15:37:54 +0000 Subject: [PATCH] Use MAX_MAP_SIZE in the args to map_file(). --- checksum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checksum.c b/checksum.c index e3b8719a..b64f4c93 100644 --- a/checksum.c +++ b/checksum.c @@ -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); -- 2.34.1