diff options
author | 2009-08-17 13:11:58 +0000 | |
---|---|---|
committer | 2009-08-17 13:11:58 +0000 | |
commit | da59dcae7e4431fb5a3bc5fe82c15923f912e796 (patch) | |
tree | fbf7bfbcf405291b75e8174c91526e2e97f5e272 /sys/kern/vfs_subr.c | |
parent | initialize retry to zero; otherwise if firmware sends odd val16 (diff) | |
download | wireguard-openbsd-da59dcae7e4431fb5a3bc5fe82c15923f912e796.tar.xz wireguard-openbsd-da59dcae7e4431fb5a3bc5fe82c15923f912e796.zip |
dd 'show all bufs' to show all the buffers in the system
ok beck@ thib@
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r-- | sys/kern/vfs_subr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 9afdaa75496..698a523b42f 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_subr.c,v 1.182 2009/08/13 13:49:20 thib Exp $ */ +/* $OpenBSD: vfs_subr.c,v 1.183 2009/08/17 13:11:58 jasper Exp $ */ /* $NetBSD: vfs_subr.c,v 1.53 1996/04/22 01:39:13 christos Exp $ */ /* @@ -2162,8 +2162,9 @@ vn_isdisk(struct vnode *vp, int *errp) #include <ddb/db_output.h> void -vfs_buf_print(struct buf *bp, int full, int (*pr)(const char *, ...)) +vfs_buf_print(void *b, int full, int (*pr)(const char *, ...)) { + struct buf *bp = b; (*pr)(" vp %p lblkno 0x%llx blkno 0x%llx dev 0x%x\n" " proc %p error %d flags %b\n", |