diff options
author | dzwdz | 2021-09-18 09:31:52 +0200 |
---|---|---|
committer | dzwdz | 2021-09-18 09:31:52 +0200 |
commit | 7a44fc5381dabb65dfdb667dc442108d0465799a (patch) | |
tree | b371144793911a43c0751427b99580b744d17a3a /src/init/main.c | |
parent | 32075c0a70c262faef86220b9f42db4836962f9e (diff) |
`init`: start work on the tar driver
Diffstat (limited to 'src/init/main.c')
-rw-r--r-- | src/init/main.c | 3 |
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.")); } |