diff options
author | Mike Larkin <mlarkin@cvs.openbsd.org> | 2014-05-31 04:37:00 +0000 |
---|---|---|
committer | Mike Larkin <mlarkin@cvs.openbsd.org> | 2014-05-31 04:37:00 +0000 |
commit | 713744c0293b3f2362b1ec99be1c806cf9866760 (patch) | |
tree | 4a49bd313e5a660d65310bfd29b08cf1ebe701f1 /sys/kern | |
parent | 8e7ac75623e8013343e9aba3477ab09e7bfb41fd (diff) |
Fix a format specifier in a debug printf.
Noticed by Josh Grosse.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/subr_hibernate.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/kern/subr_hibernate.c b/sys/kern/subr_hibernate.c index 9d928096b12..375720be0b6 100644 --- a/sys/kern/subr_hibernate.c +++ b/sys/kern/subr_hibernate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_hibernate.c,v 1.91 2014/05/29 08:00:24 mlarkin Exp $ */ +/* $OpenBSD: subr_hibernate.c,v 1.92 2014/05/31 04:36:59 mlarkin Exp $ */ /* * Copyright (c) 2011 Ariane van der Steldt <ariane@stack.nl> @@ -1009,8 +1009,11 @@ hibernate_compare_signature(union hibernate_info *mine, if ((mine->ranges[i].base != disk->ranges[i].base) || (mine->ranges[i].end != disk->ranges[i].end) ) { DPRINTF("hib range %d mismatch [%p-%p != %p-%p]\n", - i, mine->ranges[i].base, mine->ranges[i].end, - disk->ranges[i].base, disk->ranges[i].end); + i, + (void *)mine->ranges[i].base, + (void *)mine->ranges[i].end, + (void *)disk->ranges[i].base, + (void *)disk->ranges[i].end); return (1); } } |