diff options
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/vnode_if.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vnode_if.sh b/sys/kern/vnode_if.sh index 7a75efae2d7..b3ce5700ef6 100644 --- a/sys/kern/vnode_if.sh +++ b/sys/kern/vnode_if.sh @@ -33,7 +33,7 @@ copyright="\ * SUCH DAMAGE. */ " -SCRIPT_ID='$OpenBSD: vnode_if.sh,v 1.7 2001/02/26 17:12:27 art Exp $' +SCRIPT_ID='$OpenBSD: vnode_if.sh,v 1.8 2001/02/26 17:34:18 art 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. @@ -317,7 +317,7 @@ function doit() { for (i=0; i<argc; i++) { printf("\ta.a_%s = %s;\n", argname[i], argname[i]); if (shouldbelocked[i]) { - printf ("#ifdef DIAGNOSTIC\n"); + printf ("#ifdef LOCKDEBUG\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"); |