summaryrefslogtreecommitdiff
path: root/src/init/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/init/main.c')
-rw-r--r--src/init/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/init/main.c b/src/init/main.c
index db94d4a..683d0ca 100644
--- a/src/init/main.c
+++ b/src/init/main.c
@@ -1,3 +1,4 @@
+#include <init/tar.h>
#include <init/types.h>
#include <shared/flags.h>
#include <shared/syscalls.h>
@@ -25,8 +26,8 @@ int main(void) {
_syscall_exit(argify("couldn't open tty"));
fs_test();
+ tar_driver(&_initrd);
- _syscall_write(tty_fd, &_initrd, 23);
_syscall_exit(argify("my job here is done."));
}