diff options
author | dzwdz | 2022-07-23 18:20:06 +0200 |
---|---|---|
committer | dzwdz | 2022-07-23 18:20:06 +0200 |
commit | 3badc5ac30fcc0836a2604146788158b16b64f2d (patch) | |
tree | a05a6c7501119b779191414a2a6265382574732d /src/user_bootstrap/main.c | |
parent | cd12cbc75564fafd9c2519cdf1085e651c9d7cfd (diff) |
init: compile as an elf
Diffstat (limited to 'src/user_bootstrap/main.c')
-rw-r--r-- | src/user_bootstrap/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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")); |