diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2009-08-24 08:52:14 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2009-08-24 08:52:14 +0000 |
commit | 30bec3c9b8f4f2038be06030eeb602f4c92b55f6 (patch) | |
tree | c5cc6960fb4267a4c00f042e2a1554c9c3e2afb6 /sys/dev/vnd.c | |
parent | ccb411cd75b1a29bd369ea014ff28be13e3c0d71 (diff) |
- fix format strings for values that are daddr64_t
ok otto@, agreed by deraadt@
Diffstat (limited to 'sys/dev/vnd.c')
-rw-r--r-- | sys/dev/vnd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/vnd.c b/sys/dev/vnd.c index 14e94094cf5..1df2b5202d4 100644 --- a/sys/dev/vnd.c +++ b/sys/dev/vnd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vnd.c,v 1.94 2009/08/13 15:23:11 deraadt Exp $ */ +/* $OpenBSD: vnd.c,v 1.95 2009/08/24 08:51:18 jasper Exp $ */ /* $NetBSD: vnd.c,v 1.26 1996/03/30 23:06:11 christos Exp $ */ /* @@ -547,7 +547,7 @@ vndstrategy(struct buf *bp) if (resid < sz) sz = resid; - DNPRINTF(VDB_IO, "vndstrategy: vp %p/%p bn %x/%x sz %x\n", + DNPRINTF(VDB_IO, "vndstrategy: vp %p/%p bn %x/%lld sz %x\n", vnd->sc_vp, vp, bn, nbn, sz); s = splbio(); @@ -631,7 +631,7 @@ vndstart(struct vnd_softc *vnd) vnd->sc_tab.b_actf = bp->b_actf; DNPRINTF(VDB_IO, - "vndstart(%d): bp %p vp %p blkno %x addr %p cnt %lx\n", + "vndstart(%d): bp %p vp %p blkno %lld addr %p cnt %lx\n", vnd-vnd_softc, bp, bp->b_vp, bp->b_blkno, bp->b_data, bp->b_bcount); @@ -653,7 +653,7 @@ vndiodone(struct buf *bp) splassert(IPL_BIO); DNPRINTF(VDB_IO, - "vndiodone(%d): vbp %p vp %p blkno %x addr %p cnt %lx\n", + "vndiodone(%d): vbp %p vp %p blkno %lld addr %p cnt %lx\n", vnd-vnd_softc, vbp, vbp->vb_buf.b_vp, vbp->vb_buf.b_blkno, vbp->vb_buf.b_data, vbp->vb_buf.b_bcount); |