diff options
author | bde <bde@FreeBSD.org> | 1998-07-13 07:05:55 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-07-13 07:05:55 +0000 |
commit | 1805fa7aa872b21ea42eaf5c8226a0739bc9f86f (patch) | |
tree | 9e7653fc7d83bfaed89310e93ad8c4c36c33bc54 /sys/kern/vfs_bio.c | |
parent | bf1a9b4c37da22da57d630c9aa1c79e91d310760 (diff) | |
download | FreeBSD-src-1805fa7aa872b21ea42eaf5c8226a0739bc9f86f.zip FreeBSD-src-1805fa7aa872b21ea42eaf5c8226a0739bc9f86f.tar.gz |
Fixed printf format errors.
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r-- | sys/kern/vfs_bio.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index 6f80883..ee0e53c 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -11,7 +11,7 @@ * 2. Absolutely no warranty of function or purpose is made by the author * John S. Dyson. * - * $Id: vfs_bio.c,v 1.165 1998/07/04 20:45:31 julian Exp $ + * $Id: vfs_bio.c,v 1.166 1998/07/08 01:04:27 julian Exp $ */ /* @@ -2417,7 +2417,8 @@ DB_SHOW_COMMAND(buffer, db_show_buffer) } db_printf("b_proc = %p,\nb_flags = 0x%b\n", (void *)bp->b_proc, - bp->b_flags, "\20\40bounce\37cluster\36vmio\35ram\34ordered" + (u_int)bp->b_flags, + "\20\40bounce\37cluster\36vmio\35ram\34ordered" "\33paging\32xxx\31writeinprog\30wanted\27relbuf\26tape" "\25read\24raw\23phys\22clusterok\21malloc\20nocache" "\17locked\16inval\15gathered\14error\13eintr\12done\11dirty" @@ -2433,8 +2434,8 @@ DB_SHOW_COMMAND(buffer, db_show_buffer) for (i = 0; i < bp->b_npages; i++) { vm_page_t m; m = bp->b_pages[i]; - db_printf("(0x%x, 0x%x, 0x%x)", m->object, m->pindex, - VM_PAGE_TO_PHYS(m)); + db_printf("(%p, 0x%lx, 0x%lx)", (void *)m->object, + (u_long)m->pindex, (u_long)VM_PAGE_TO_PHYS(m)); if ((i + 1) < bp->b_npages) db_printf(","); } |