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 81a1262..ff0edc3 100644
--- a/mincore.c
+++ b/mincore.c
@@ -10,7 +10,7 @@ static void mincore_stats(const char *path, off_t offset, off_t len)
         int fd;
         size_t i;
         static const char *fmt = sizeof(void *) == 8 ?
-                                 "%s: %016lu %x\n": "%s: %08lu %x\n";
+                                 "%s: %016lx %x\n": "%s: %08lx %x\n";
 
         if ((fd = open(path, O_RDONLY|O_NOATIME)) < 0) {
                 fprintf(stderr, "%s: open(): %s\n", path, strerror(errno));