diff options
Diffstat (limited to 'src/cmd/init/driver')
-rw-r--r-- | src/cmd/init/driver/ps2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/init/driver/ps2.c b/src/cmd/init/driver/ps2.c index 874e672..d0480bc 100644 --- a/src/cmd/init/driver/ps2.c +++ b/src/cmd/init/driver/ps2.c @@ -1,5 +1,6 @@ #include "driver.h" #include <assert.h> +#include <camellia.h> #include <camellia/compat.h> #include <camellia/syscalls.h> #include <err.h> @@ -94,7 +95,7 @@ static void kb_thread(void *unused) { int fd; (void)unused; - fd = _sys_open("/kdev/ps2/kb", 12, 0); + fd = camellia_open("/dev/ps2/kb", OPEN_READ); if (fd < 0) err(1, "open"); while (true) { |