From 2e70f0e100e61ec7b26be2d43a6cd0d7601bfefc Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 4 Apr 2024 15:47:56 -0400 Subject: kernel: sched: Pass init auxv to dynld Signed-off-by: Ian Moffett --- sys/kern/kern_sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/kern') 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"); } -- cgit v1.2.3