summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2007-02-13 17:04:15 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2007-02-13 17:04:15 +0000
commitff2d0dd80c5f8b14a27e4df99a70da2984ba4423 (patch)
treef26fd047f935735588b4e29ecda2fda14e77e429 /sys/kern/vfs_subr.c
parent36a765949f103e0c7e89cd00f5635ac7e7c89920 (diff)
fix ddb buf print
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 f7973cf448f..0e578357804 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_subr.c,v 1.135 2006/11/20 12:52:54 tom Exp $ */
+/* $OpenBSD: vfs_subr.c,v 1.136 2007/02/13 17:04:14 mickey Exp $ */
/* $NetBSD: vfs_subr.c,v 1.53 1996/04/22 01:39:13 christos Exp $ */
/*
@@ -2280,9 +2280,9 @@ vfs_buf_print(struct buf *bp, int full, int (*pr)(const char *, ...))
bp->b_vp, bp->b_lblkno, 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%zx sync 0x%x\n"
+ (*pr)(" bufsize 0x%lx bcount 0x%lx resid 0x%lx sync 0x%x\n"
" data %p saveaddr %p dep %p iodone %p\n",
- bp->b_bufsize, bp->b_bcount, bp->b_resid, bp->b_synctime,
+ bp->b_bufsize, bp->b_bcount, (long)bp->b_resid, bp->b_synctime,
bp->b_data, bp->b_saveaddr, LIST_FIRST(&bp->b_dep), bp->b_iodone);
(*pr)(" dirty {off 0x%x end 0x%x} valid {off 0x%x end 0x%x}\n",