summaryrefslogtreecommitdiff
path: root/src/init/main.c
diff options
context:
space:
mode:
authordzwdz2021-08-25 14:49:58 +0200
committerdzwdz2021-08-25 14:49:58 +0200
commit0da663e05c93f2791d7166ece8d69a1be06a7924 (patch)
tree05dd2c16b04a3fd2e6ecf491da217b2686d8ec35 /src/init/main.c
parentab5150478dd14c1c5b28ca50b36b35e8224df54b (diff)
implement open() for FD_SPECIAL_TTY (`/tty`)
Diffstat (limited to 'src/init/main.c')
-rw-r--r--src/init/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/init/main.c b/src/init/main.c
index c08cf21..0e74e93 100644
--- a/src/init/main.c
+++ b/src/init/main.c
@@ -30,6 +30,7 @@ int main(void) {
fd = _syscall_fs_open(
multipageify("/tty"),
sizeof("/tty") - 1);
+ // TODO don't dispatch /ttywhatever to the tty driver
if (fd < 0) {
_syscall_exit("couldn't open tty",