From 86623b76dce72bc611f470e0e9ecad963fd558b2 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Thu, 7 Apr 2022 21:25:54 +0200 Subject: kernel: remove the `/tty` device --- src/init/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/init/main.c') diff --git a/src/init/main.c b/src/init/main.c index fae6606..a46cb18 100644 --- a/src/init/main.c +++ b/src/init/main.c @@ -23,9 +23,9 @@ int main(void) { // allocate bss _syscall_memflag(&_bss_start, &_bss_end - &_bss_start, MEMFLAG_PRESENT); - if (!fork2_n_mount("/tty")) ansiterm_drv(); + // TODO if (!fork2_n_mount("/tty")) ansiterm_drv(); - __tty_fd = _syscall_open("/tty", sizeof("/tty") - 1); + __tty_fd = _syscall_open(argify("/com1")); if (__tty_fd < 0) _syscall_exit(1); -- cgit v1.2.3