diff options
author | assar <assar@cvs.openbsd.org> | 2001-08-02 08:16:46 +0000 |
---|---|---|
committer | assar <assar@cvs.openbsd.org> | 2001-08-02 08:16:46 +0000 |
commit | 0945acd43fa1d0533ce0762332bed21f7ef9a713 (patch) | |
tree | a50478a83c99d1db44fb338643b977e5caf43c76 /sys/kern | |
parent | 1127ec84bc422555400d7ee26510d3079571b3cf (diff) |
(vput): make panic strings actually say vput instead of vrele
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/vfs_subr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 012fabe80da..b0534e07561 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_subr.c,v 1.64 2001/07/26 22:27:45 miod Exp $ */ +/* $OpenBSD: vfs_subr.c,v 1.65 2001/08/02 08:16:45 assar Exp $ */ /* $NetBSD: vfs_subr.c,v 1.53 1996/04/22 01:39:13 christos Exp $ */ /* @@ -763,8 +763,8 @@ vput(vp) #ifdef DIAGNOSTIC if (vp->v_usecount == 0) { - vprint("vrele: bad ref count", vp); - panic("vrele: ref cnt"); + vprint("vput: bad ref count", vp); + panic("vput: ref cnt"); } #endif vp->v_usecount--; @@ -776,8 +776,8 @@ vput(vp) #ifdef DIAGNOSTIC if (vp->v_writecount != 0) { - vprint("vrele: bad writecount", vp); - panic("vrele: v_writecount != 0"); + vprint("vput: bad writecount", vp); + panic("vput: v_writecount != 0"); } #endif vputonfreelist(vp); |