summaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authordzwdz2023-09-11 03:17:23 +0200
committerdzwdz2023-09-11 03:17:23 +0200
commit1e54db260811d0d759e76be725d50f4b59d0fc41 (patch)
tree7e7fabe0ec777fd6aa9d1847e746a415f31ea12e /ports
parent73ea9f2e3556dd753b32ac4a2c34581a4126eab1 (diff)
*: rename /kdev/ to /dev/
Diffstat (limited to 'ports')
-rw-r--r--ports/doom/files/doomgeneric_camellia.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ports/doom/files/doomgeneric_camellia.c b/ports/doom/files/doomgeneric_camellia.c
index 3fe6032..596e3d7 100644
--- a/ports/doom/files/doomgeneric_camellia.c
+++ b/ports/doom/files/doomgeneric_camellia.c
@@ -1,3 +1,4 @@
+#include <camellia.h>
#include <camellia/syscalls.h>
#include <shared/ring.h>
#include <stdbool.h>
@@ -39,11 +40,11 @@ static void kb_thread(void *arg) {
}
void DG_Init(void) {
- if (fb_setup(&fb, "/kdev/video/") < 0) {
+ if (fb_setup(&fb, "/dev/video/") < 0) {
puts("DG_Init: fb_setup error");
abort();
}
- kb = _sys_open("/kdev/ps2/kb", 12, 0);
+ kb = camellia_open("/dev/ps2/kb", OPEN_READ);
if (kb < 0) {
puts("DG_Init: can't open keyboard");
abort();