summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-04-04 15:47:56 -0400
committerIan Moffett <ian@osmora.org>2024-04-04 15:47:56 -0400
commit2e70f0e100e61ec7b26be2d43a6cd0d7601bfefc (patch)
tree2f6bd35b81da07802451baf2896beb94f957acdb /sys
parentcf7bfde63fca0d904447a82186018ca5cc6498c6 (diff)
kernel: sched: Pass init auxv to dynld
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_sched.c b/sys/kern/kern_sched.c
index 055b11a..0e2c63c 100644
--- a/sys/kern/kern_sched.c
+++ b/sys/kern/kern_sched.c
@@ -421,7 +421,7 @@ sched_init(void)
}
init = sched_create_td((uintptr_t)ld_auxv.at_entry, argv, envp,
- ld_auxv, vas, true, &init_range);
+ auxv, vas, true, &init_range);
if (init == NULL) {
panic("Failed to create thread for init\n");
}