summaryrefslogtreecommitdiffstats
path: root/sys/kern/exec_script.c
diff options
context:
space:
mode:
authorcsapuntz <csapuntz@openbsd.org>1997-10-06 15:05:18 +0000
committercsapuntz <csapuntz@openbsd.org>1997-10-06 15:05:18 +0000
commit6e175d504b4d2c3634337aa6a71d85b74b81c113 (patch)
tree69347f4cbda33eca8b28929f0e401694bb32f5f7 /sys/kern/exec_script.c
parentVFS Lite 2 Changes (diff)
downloadwireguard-openbsd-6e175d504b4d2c3634337aa6a71d85b74b81c113.tar.xz
wireguard-openbsd-6e175d504b4d2c3634337aa6a71d85b74b81c113.zip
VFS Lite2 Changes
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 551c52c7602..91f6d638397 100644
--- a/sys/kern/exec_script.c
+++ b/sys/kern/exec_script.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_script.c,v 1.4 1996/10/20 15:30:07 dm Exp $ */
+/* $OpenBSD: exec_script.c,v 1.5 1997/10/06 15:12:10 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 */