diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-05-09 21:18:29 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-05-09 21:18:29 -0700 |
commit | 246b02f9e3a7703384f5acf7af7724410bf2ae9b (patch) | |
tree | 8ace3e692db0851184e4a0baf6ff4b3abf66b3a1 | |
parent | 8b4ebef131656614386878692a07f8c51e533a8a (diff) | |
download | pcu-246b02f9e3a7703384f5acf7af7724410bf2ae9b.tar.gz |
mincore: byte offsets should be shown in hex
-rw-r--r-- | mincore.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); |