diff options
author | 1997-10-06 15:05:18 +0000 | |
---|---|---|
committer | 1997-10-06 15:05:18 +0000 | |
commit | 6e175d504b4d2c3634337aa6a71d85b74b81c113 (patch) | |
tree | 69347f4cbda33eca8b28929f0e401694bb32f5f7 /sys/kern/kern_exec.c | |
parent | VFS Lite 2 Changes (diff) | |
download | wireguard-openbsd-6e175d504b4d2c3634337aa6a71d85b74b81c113.tar.xz wireguard-openbsd-6e175d504b4d2c3634337aa6a71d85b74b81c113.zip |
VFS Lite2 Changes
Diffstat (limited to 'sys/kern/kern_exec.c')
-rw-r--r-- | sys/kern/kern_exec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index 4dfb48a0e9c..b70c6bd3cd2 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_exec.c,v 1.12 1997/08/01 22:54:50 deraadt Exp $ */ +/* $OpenBSD: kern_exec.c,v 1.13 1997/10/06 15:12:16 csapuntz Exp $ */ /* $NetBSD: kern_exec.c,v 1.75 1996/02/09 18:59:28 christos Exp $ */ /*- @@ -188,10 +188,10 @@ check_exec(p, epp) bad2: /* - * unlock and close the vnode, restore the old one, free the + * unlock and close the vnode, free the * pathname buf, and punt. */ - VOP_UNLOCK(vp); + VOP_UNLOCK(vp, 0, p); vn_close(vp, FREAD, p->p_ucred, p); FREE(ndp->ni_cnd.cn_pnbuf, M_NAMEI); return error; |