diff options
author | dzwdz | 2022-04-07 21:25:54 +0200 |
---|---|---|
committer | dzwdz | 2022-04-07 21:25:54 +0200 |
commit | 86623b76dce72bc611f470e0e9ecad963fd558b2 (patch) | |
tree | e9f1204a3761e4389e4b51276c7d359957f4fb86 /src/init/main.c | |
parent | da2bbef4e4f586ecf13cd5ffe9a62df3114a3483 (diff) |
kernel: remove the `/tty` device
Diffstat (limited to 'src/init/main.c')
-rw-r--r-- | src/init/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |