summaryrefslogtreecommitdiff
path: root/src/init/main.c
diff options
context:
space:
mode:
authordzwdz2021-10-06 06:28:04 +0000
committerdzwdz2021-10-06 06:28:04 +0000
commita3469d648a4d0f276d979ceb14b8716b46f4f72e (patch)
tree1d529e3e229e55b6df4779254566121466102f64 /src/init/main.c
parent1ee734761a3eecbdaf9631a653dee668d2de26ef (diff)
init: printf base
Diffstat (limited to 'src/init/main.c')
-rw-r--r--src/init/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/init/main.c b/src/init/main.c
index ec6d5be..a819152 100644
--- a/src/init/main.c
+++ b/src/init/main.c
@@ -1,3 +1,4 @@
+#include <init/stdlib.h>
#include <init/tar.h>
#include <shared/flags.h>
#include <shared/syscalls.h>
@@ -28,6 +29,8 @@ int main(void) {
fs_test();
test_await();
+ printf("printf test\n");
+
char c;
while (_syscall_read(tty_fd, &c, 1, 0))
_syscall_write(tty_fd, &c, 1, 0);