summaryrefslogtreecommitdiff
path: root/sys/kern/kern_fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_fork.c')
-rw-r--r--sys/kern/kern_fork.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c
index 2a66ccdf834..b502c8443de 100644
--- a/sys/kern/kern_fork.c
+++ b/sys/kern/kern_fork.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_fork.c,v 1.57 2002/10/21 21:30:02 art Exp $ */
+/* $OpenBSD: kern_fork.c,v 1.58 2002/10/22 01:48:25 art Exp $ */
/* $NetBSD: kern_fork.c,v 1.29 1996/02/09 18:59:34 christos Exp $ */
/*
@@ -168,7 +168,7 @@ fork1(struct proc *p1, int exitsig, int flags, void *stack, size_t stacksize,
/*
* Allocate a pcb and kernel stack for the process
*/
- uaddr = uvm_km_valloc_noexec(kernel_map, USPACE);
+ uaddr = uvm_km_valloc(kernel_map, USPACE);
if (uaddr == 0) {
chgproccnt(uid, -1);
nprocs--;