summaryrefslogtreecommitdiff
path: root/sys/kern/kern_exec.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-06-11 12:57:37 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-06-11 12:57:37 +0000
commit80371564aea4eec6554429f079a5d534d699bf00 (patch)
tree4152f9f7e3326629b5c397739f5d7abb4597d1fc /sys/kern/kern_exec.c
parent1a0c47b4358d42520b062ae6c4f3ceba9e9dcb8a (diff)
vm->vm_minsaddr was uninitialized (nothing realy uses it anyway)
Diffstat (limited to 'sys/kern/kern_exec.c')
-rw-r--r--sys/kern/kern_exec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c
index 27018f6c610..0075f15bf0f 100644
--- a/sys/kern/kern_exec.c
+++ b/sys/kern/kern_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_exec.c,v 1.85 2004/05/14 04:00:33 tedu Exp $ */
+/* $OpenBSD: kern_exec.c,v 1.86 2004/06/11 12:57:36 mickey Exp $ */
/* $NetBSD: kern_exec.c,v 1.75 1996/02/09 18:59:28 christos Exp $ */
/*-
@@ -392,6 +392,7 @@ sys_execve(p, v, retval)
vm->vm_dsize = btoc(pack.ep_dsize);
vm->vm_ssize = btoc(pack.ep_ssize);
vm->vm_maxsaddr = (char *)pack.ep_maxsaddr;
+ vm->vm_minsaddr = (char *)pack.ep_minsaddr;
/* create the new process's VM space by running the vmcmds */
#ifdef DIAGNOSTIC