summaryrefslogtreecommitdiff
path: root/src/user_bootstrap/main.c
diff options
context:
space:
mode:
authordzwdz2022-07-23 18:20:06 +0200
committerdzwdz2022-07-23 18:20:06 +0200
commit3badc5ac30fcc0836a2604146788158b16b64f2d (patch)
treea05a6c7501119b779191414a2a6265382574732d /src/user_bootstrap/main.c
parentcd12cbc75564fafd9c2519cdf1085e651c9d7cfd (diff)
init: compile as an elf
Diffstat (limited to 'src/user_bootstrap/main.c')
-rw-r--r--src/user_bootstrap/main.c2
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"));