From 3badc5ac30fcc0836a2604146788158b16b64f2d Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 23 Jul 2022 18:20:06 +0200 Subject: init: compile as an elf --- src/user_bootstrap/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/user_bootstrap') diff --git a/src/user_bootstrap/main.c b/src/user_bootstrap/main.c index baa9803..71647c4 100644 --- a/src/user_bootstrap/main.c +++ b/src/user_bootstrap/main.c @@ -51,7 +51,7 @@ __attribute__((section(".text.startup"))) int main(void) { _syscall_memflag(&_bss_start, &_bss_end - &_bss_start, MEMFLAG_PRESENT); - void *init = tar_find(&_initrd, "test.elf"); + void *init = tar_find(&_initrd, "init.elf"); elf_exec(init); _syscall_debug_klog("bootstrap failed", sizeof("bootstrap failed")); -- cgit v1.2.3