summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-02-26 17:12:28 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-02-26 17:12:28 +0000
commita5bb4be5165baec5764e861a91e299477c36baa9 (patch)
treef0c80a5fe90c5d225cdf89ad3b8f81d6ccbd7229
parent576d6ac68857a0ca21dee93b36ed2e9a0ae7ddd5 (diff)
Indentation nit in the generated code.
-rw-r--r--sys/kern/vnode_if.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/kern/vnode_if.sh b/sys/kern/vnode_if.sh
index 855f5224fc8..7a75efae2d7 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.6 1999/03/03 20:58:27 deraadt Exp $'
+SCRIPT_ID='$OpenBSD: vnode_if.sh,v 1.7 2001/02/26 17:12:27 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,8 +317,9 @@ 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 ("\tif ((%s->v_flag & VLOCKSWORK) && !VOP_ISLOCKED(%s)) panic(\"%s: %s\");\n", argname[i], argname[i], name, argname[i]);
+ printf ("#ifdef DIAGNOSTIC\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");
}
}