summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2007-02-17 23:57:17 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2007-02-17 23:57:17 +0000
commit41ba8ea6e88f4010ce8cae1b994e736d8392ee5b (patch)
tree3ef19fc9359222e9075e66007832d9e74909f6cb /sys/kern/vfs_subr.c
parentdef510baeca9789810cdbfdaeb8085585f3617b8 (diff)
fix ddb buf printing for daddr_t growth to 64bit;
from juan hernandez gonzalez; tested by bluhm@
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r--sys/kern/vfs_subr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 7a2642d39f0..f2e0d16b4a0 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_subr.c,v 1.137 2007/02/14 00:53:48 jsg Exp $ */
+/* $OpenBSD: vfs_subr.c,v 1.138 2007/02/17 23:57:16 mickey Exp $ */
/* $NetBSD: vfs_subr.c,v 1.53 1996/04/22 01:39:13 christos Exp $ */
/*
@@ -2275,9 +2275,9 @@ void
vfs_buf_print(struct buf *bp, int full, int (*pr)(const char *, ...))
{
- (*pr)(" vp %p lblkno 0x%x blkno 0x%x dev 0x%x\n"
+ (*pr)(" vp %p lblkno 0x%llx blkno 0x%llx dev 0x%x\n"
" proc %p error %d flags %b\n",
- bp->b_vp, bp->b_lblkno, bp->b_blkno, bp->b_dev,
+ bp->b_vp, (int64_t)bp->b_lblkno, (int64_t)bp->b_blkno, bp->b_dev,
bp->b_proc, bp->b_error, bp->b_flags, B_BITS);
(*pr)(" bufsize 0x%lx bcount 0x%lx resid 0x%lx sync 0x%x\n"