aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_exec.c')
-rw-r--r--sys/kern/kern_exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c
index 0386ffd..c76179a 100644
--- a/sys/kern/kern_exec.c
+++ b/sys/kern/kern_exec.c
@@ -118,7 +118,7 @@ exec_set_stack(struct proc *td, struct exec_args args)
stack_range = &td->addr_range[ADDR_RANGE_STACK];
stack_top = stack_range->start + (PROC_STACK_SIZE);
- sp = sched_init_stack((void *)stack_top, args);
+ sp = loader_init_stack((void *)stack_top, args);
return sp;
}