diff options
author | peter <peter@FreeBSD.org> | 1997-09-13 15:02:28 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-09-13 15:02:28 +0000 |
commit | 723553368e5d08fe1d955c31d41b4be03e701275 (patch) | |
tree | 887c5bf82c2d22576f0054789c30f56a939ff356 | |
parent | aca248818711375831876673fa5e4cdf544377d3 (diff) | |
download | FreeBSD-src-723553368e5d08fe1d955c31d41b4be03e701275.zip FreeBSD-src-723553368e5d08fe1d955c31d41b4be03e701275.tar.gz |
print correct function name in a panic (vop_nolock -> vop_sharedlock)
-rw-r--r-- | sys/kern/vfs_export.c | 4 | ||||
-rw-r--r-- | sys/kern/vfs_subr.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c index 687ec28..bed6d76 100644 --- a/sys/kern/vfs_export.c +++ b/sys/kern/vfs_export.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95 - * $Id: vfs_subr.c,v 1.100 1997/09/07 13:49:49 bde Exp $ + * $Id: vfs_subr.c,v 1.101 1997/09/07 16:20:46 bde Exp $ */ /* @@ -918,7 +918,7 @@ vop_sharedlock(ap) return (0); case LK_RELEASE: default: - panic("vop_nolock: bad operation %d", flags & LK_TYPE_MASK); + panic("vop_sharedlock: bad operation %d", flags & LK_TYPE_MASK); } if (flags & LK_INTERLOCK) vnflags |= LK_INTERLOCK; diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 687ec28..bed6d76 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95 - * $Id: vfs_subr.c,v 1.100 1997/09/07 13:49:49 bde Exp $ + * $Id: vfs_subr.c,v 1.101 1997/09/07 16:20:46 bde Exp $ */ /* @@ -918,7 +918,7 @@ vop_sharedlock(ap) return (0); case LK_RELEASE: default: - panic("vop_nolock: bad operation %d", flags & LK_TYPE_MASK); + panic("vop_sharedlock: bad operation %d", flags & LK_TYPE_MASK); } if (flags & LK_INTERLOCK) vnflags |= LK_INTERLOCK; |