diff options
Diffstat (limited to 'libhurd-mm/madvise.c')
-rw-r--r-- | libhurd-mm/madvise.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libhurd-mm/madvise.c b/libhurd-mm/madvise.c index b9494cd..529c2be 100644 --- a/libhurd-mm/madvise.c +++ b/libhurd-mm/madvise.c @@ -35,12 +35,12 @@ madvise (void *addr, size_t length, int advice) if (((uintptr_t) addr & (PAGESIZE - 1)) != 0) { - debug (0, "Address %x not multiple of pagesize.", addr); + debug (0, "Address %p not multiple of pagesize.", addr); return EINVAL; } if ((length & (PAGESIZE - 1)) != 0) { - debug (0, "Length %x not multiple of pagesize.", addr); + debug (0, "Length %x not multiple of pagesize.", length); return EINVAL; } |