about summary refs log tree commit homepage
path: root/mincore.c
diff options
context:
space:
mode:
Diffstat (limited to 'mincore.c')
-rw-r--r--mincore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mincore.c b/mincore.c
index c3aa618..3314d3c 100644
--- a/mincore.c
+++ b/mincore.c
@@ -59,7 +59,7 @@ static void mincore_stats(const char *path, off_t offset, off_t len)
 
         for (i = 0; i < vec_len; ++i)
                 printf(fmt, path,
-                       (unsigned long)(page_size() * i) + map_offset,
+                       (unsigned long)((page_size() * i) + map_offset),
                        vec[i] & 1);
 err_munmap:
         munmap(map, map_len);