diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2006-07-03 12:39:53 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2006-07-03 12:39:53 +0000 |
commit | 565efd6e76f94a245f10e96e5b71dea6ddae8e8c (patch) | |
tree | 2fa0b0f9210292765b4022025174aab6a1f58a6f /sys/kern | |
parent | a8307790175a2440a1ccb06b382d1bd15d395b5f (diff) |
also print vp in vprint (useful for debugging); pedro@ ok
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/vfs_subr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 71e8e0c0ba8..113d15e124a 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_subr.c,v 1.129 2006/06/25 15:01:53 sturm Exp $ */ +/* $OpenBSD: vfs_subr.c,v 1.130 2006/07/03 12:39:52 mickey Exp $ */ /* $NetBSD: vfs_subr.c,v 1.53 1996/04/22 01:39:13 christos Exp $ */ /* @@ -1281,8 +1281,8 @@ vprint(char *label, struct vnode *vp) if (label != NULL) printf("%s: ", label); - printf("type %s, usecount %u, writecount %u, holdcount %u,", - typename[vp->v_type], vp->v_usecount, vp->v_writecount, + printf("%p, type %s, use %u, write %u, hold %u,", + vp, typename[vp->v_type], vp->v_usecount, vp->v_writecount, vp->v_holdcnt); buf[0] = '\0'; if (vp->v_flag & VROOT) |