summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/vnode_if.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vnode_if.sh b/sys/kern/vnode_if.sh
index 429692af8ec..9e8d38501b5 100644
--- a/sys/kern/vnode_if.sh
+++ b/sys/kern/vnode_if.sh
@@ -29,7 +29,7 @@ copyright="\
* SUCH DAMAGE.
*/
"
-SCRIPT_ID='$OpenBSD: vnode_if.sh,v 1.13 2003/06/02 23:28:07 millert Exp $'
+SCRIPT_ID='$OpenBSD: vnode_if.sh,v 1.14 2005/05/22 21:07:23 pedro Exp $'
# SCRIPT_ID='$NetBSD: vnode_if.sh,v 1.9 1996/02/29 20:58:22 cgd Exp $'
# Script to produce VFS front-end sugar.
@@ -328,7 +328,7 @@ function doit() {
for (i=0; i<argc; i++) {
printf("\ta.a_%s = %s;\n", argname[i], argname[i]);
if (shouldbelocked[i]) {
- printf ("#ifdef LOCKDEBUG\n");
+ printf ("#ifdef VFSDEBUG\n");
printf ("\tif ((%s->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(%s))\n", argname[i], argname[i]);
printf ("\t\tpanic(\"%s: %s\");\n", name, argname[i]);
printf ("#endif\n");