summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
authorjasper <jasper@openbsd.org>2009-08-17 13:11:58 +0000
committerjasper <jasper@openbsd.org>2009-08-17 13:11:58 +0000
commitda59dcae7e4431fb5a3bc5fe82c15923f912e796 (patch)
treefbf7bfbcf405291b75e8174c91526e2e97f5e272 /sys/kern/vfs_subr.c
parentinitialize retry to zero; otherwise if firmware sends odd val16 (diff)
downloadwireguard-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.c5
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",