diff options
-rw-r--r-- | sys/kern/exec_subr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/exec_subr.c b/sys/kern/exec_subr.c index 2040b4b1249..b1c563bf5ac 100644 --- a/sys/kern/exec_subr.c +++ b/sys/kern/exec_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_subr.c,v 1.26 2004/11/23 10:14:49 hshoexer Exp $ */ +/* $OpenBSD: exec_subr.c,v 1.27 2006/07/26 19:11:01 sturm Exp $ */ /* $NetBSD: exec_subr.c,v 1.9 1994/12/04 03:10:42 mycroft Exp $ */ /* @@ -251,7 +251,7 @@ vmcmd_map_readvn(struct proc *p, struct exec_vmcmd *cmd) return (error); error = vn_rdwr(UIO_READ, cmd->ev_vp, (caddr_t)cmd->ev_addr, - cmd->ev_len, cmd->ev_offset, UIO_USERSPACE, IO_UNIT|IO_NODELOCKED, + cmd->ev_len, cmd->ev_offset, UIO_USERSPACE, IO_UNIT, p->p_ucred, NULL, p); if (error) return (error); |