about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--mincore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mincore.c b/mincore.c
index 0379481..41adf7b 100644
--- a/mincore.c
+++ b/mincore.c
@@ -54,7 +54,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,
-                       vec[i]);
+                       vec[i] & 1);
 err_munmap:
         munmap(map, map_len);
 err_free: