diff options
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 6eb928204f0..6c3c6a5c89c 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_exec.c,v 1.183 2016/09/03 14:28:24 jca Exp $ */ +/* $OpenBSD: kern_exec.c,v 1.184 2016/10/22 02:09:14 guenther Exp $ */ /* $NetBSD: kern_exec.c,v 1.75 1996/02/09 18:59:28 christos Exp $ */ /*- @@ -254,7 +254,7 @@ sys_execve(struct proc *p, void *v, register_t *retval) #endif char *stack; struct ps_strings arginfo; - struct vmspace *vm = pr->ps_vmspace; + struct vmspace *vm; char **tmpfap; extern struct emul emul_native; struct vnode *otvp; @@ -421,7 +421,7 @@ sys_execve(struct proc *p, void *v, register_t *retval) /* * Prepare vmspace for remapping. Note that uvmspace_exec can replace - * pr_vmspace! + * ps_vmspace! */ uvmspace_exec(p, VM_MIN_ADDRESS, VM_MAXUSER_ADDRESS); |