no longer use mmap() in rsync because of the risk of a SIGBUS when
[rsync/rsync.git] / match.c
diff --git a/match.c b/match.c
index dc4dbd1..29b5251 100644 (file)
--- a/match.c
+++ b/match.c
@@ -120,7 +120,7 @@ static void matched(int f,struct sum_struct *s,struct map_struct *buf,
                last_match = offset;
 
        if (buf)
-               show_progress(last_match, buf->size);
+               show_progress(last_match, buf->file_size);
 
        if (i == -1) end_progress();
 }