diff options
author | Pedro Martelletto <pedro@cvs.openbsd.org> | 2005-05-22 21:07:24 +0000 |
---|---|---|
committer | Pedro Martelletto <pedro@cvs.openbsd.org> | 2005-05-22 21:07:24 +0000 |
commit | 6f608e734569de9dad502c41d020893ea96cdc0f (patch) | |
tree | 33f7e57bb70bfa5d8f6a0961a3a1915e95d048d2 | |
parent | 4e704cc3d798baca61ba044e33b04e53ca514ab6 (diff) |
output code for incoming VFSDEBUG option
-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 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"); |