summaryrefslogtreecommitdiffstats
path: root/sys/kern/exec_script.c
diff options
context:
space:
mode:
authorcsapuntz <csapuntz@openbsd.org>1997-11-06 05:58:00 +0000
committercsapuntz <csapuntz@openbsd.org>1997-11-06 05:58:00 +0000
commit07feb63c29dabe2798f31749f3e8a89dc96eee83 (patch)
treed13e0c3a511d6f2ef321c9972bd6f67a6912631c /sys/kern/exec_script.c
parenttemp <machine_btop() fix (diff)
downloadwireguard-openbsd-07feb63c29dabe2798f31749f3e8a89dc96eee83.tar.xz
wireguard-openbsd-07feb63c29dabe2798f31749f3e8a89dc96eee83.zip
Updates for VFS Lite 2 + soft update.
Diffstat (limited to 'sys/kern/exec_script.c')
-rw-r--r--sys/kern/exec_script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/exec_script.c b/sys/kern/exec_script.c
index 3b826d994ab..93583be73d5 100644
--- a/sys/kern/exec_script.c
+++ b/sys/kern/exec_script.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_script.c,v 1.6 1997/10/06 20:19:48 deraadt Exp $ */
+/* $OpenBSD: exec_script.c,v 1.7 1997/11/06 05:58:13 csapuntz Exp $ */
/* $NetBSD: exec_script.c,v 1.13 1996/02/04 02:15:06 christos Exp $ */
/*
@@ -228,7 +228,7 @@ check_shell:
scriptvp = epp->ep_vp;
oldpnbuf = epp->ep_ndp->ni_cnd.cn_pnbuf;
- VOP_UNLOCK(scriptvp);
+ VOP_UNLOCK(scriptvp, 0, p);
if ((error = check_exec(p, epp)) == 0) {
/* note that we've clobbered the header */