summaryrefslogtreecommitdiff
path: root/src/user/bootstrap/main.c
diff options
context:
space:
mode:
authordzwdz2022-07-27 13:59:52 +0200
committerdzwdz2022-07-27 13:59:52 +0200
commitc77b0fa7916f79c099ee4a6a80a093334e9090ac (patch)
tree19eaedcecaa1584b83342853f1616975b50cad97 /src/user/bootstrap/main.c
parent55b3a04e97b7ddd0db17a4fc3ba35461b106b92f (diff)
user/libc: execve() supports passing argv now
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 9c08023..e877b64 100644
--- a/src/user/bootstrap/main.c
+++ b/src/user/bootstrap/main.c
@@ -27,7 +27,7 @@ void _start(void) {
void *init = tar_find("bin/init", 8, &_initrd, ~0) + 512;
if (init) {
_klogf("execing init.elf");
- elf_exec(init);
+ elf_exec(init, NULL, NULL);
_klogf("elf_exec failed");
} else {
_klogf("couldn't find init.elf");