diff options
author | mux <mux@FreeBSD.org> | 2002-11-07 23:16:22 +0000 |
---|---|---|
committer | mux <mux@FreeBSD.org> | 2002-11-07 23:16:22 +0000 |
commit | aae3d5b8b6dbe84cd25f622726f44f46008df89a (patch) | |
tree | 0756c7440b44db2a2cfb1af4437cac8acfdd7a9b /sys | |
parent | 800d38e3eb91ffd33a5a9477b79628faa8bebf87 (diff) | |
download | FreeBSD-src-aae3d5b8b6dbe84cd25f622726f44f46008df89a.zip FreeBSD-src-aae3d5b8b6dbe84cd25f622726f44f46008df89a.tar.gz |
Better printf() formats.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/vm/vnode_pager.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c index eb199a3..1583d4a 100644 --- a/sys/vm/vnode_pager.c +++ b/sys/vm/vnode_pager.c @@ -60,6 +60,7 @@ #include <sys/buf.h> #include <sys/vmmeter.h> #include <sys/conf.h> +#include <sys/stdint.h> #include <vm/vm.h> #include <vm/vm_object.h> @@ -717,14 +718,12 @@ vnode_pager_generic_getpages(vp, m, bytecount, reqpage) IDX_TO_OFF(m[i]->pindex), &runpg); if (firstaddr == -1) { if (i == reqpage && foff < object->un_pager.vnp.vnp_size) { - /* XXX no %qd in kernel. */ - panic("vnode_pager_getpages: unexpected missing page: firstaddr: %d, foff: 0x%lx%08lx, vnp_size: 0x%lx%08lx", - firstaddr, (u_long)(foff >> 32), - (u_long)(u_int32_t)foff, - (u_long)(u_int32_t) - (object->un_pager.vnp.vnp_size >> 32), - (u_long)(u_int32_t) - object->un_pager.vnp.vnp_size); + panic("vnode_pager_getpages: unexpected missing page: firstaddr: %d, foff: 0x%jx%08jx, vnp_size: 0x%jx%08jx", + firstaddr, (uintmax_t)(foff >> 32), + (uintmax_t)foff, + (uintmax_t) + (object->un_pager.vnp.vnp_size >> 32), + (uintmax_t)object->un_pager.vnp.vnp_size); } vm_page_lock_queues(); vm_page_free(m[i]); |