diff options
author | dzwdz | 2022-10-04 13:59:21 +0200 |
---|---|---|
committer | dzwdz | 2022-10-04 13:59:21 +0200 |
commit | e83dca9817614d0dc77ce1e5dc13eed44b61eb2f (patch) | |
tree | 71bcb994d9cb4199cb002d39c06769f38be1ece2 /src/user/app/drawmouse/drawmouse.c | |
parent | 710e9b2b5c16f74f66420c66d12455ad518d42c7 (diff) |
user/libc: camellia_open, takes cwd into account
Diffstat (limited to 'src/user/app/drawmouse/drawmouse.c')
-rw-r--r-- | src/user/app/drawmouse/drawmouse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/user/app/drawmouse/drawmouse.c b/src/user/app/drawmouse/drawmouse.c index 6ddfc79..6e2a881 100644 --- a/src/user/app/drawmouse/drawmouse.c +++ b/src/user/app/drawmouse/drawmouse.c @@ -1,4 +1,4 @@ -#include <camellia/flags.h> +#include <camellia.h> #include <camellia/syscalls.h> #include <shared/container/ring.h> #include <stdbool.h> @@ -50,7 +50,7 @@ struct packet { int main(void) { char buf[64]; - handle_t fd = _syscall_open("/kdev/ps2/mouse", 15, OPEN_READ); + handle_t fd = camellia_open("/kdev/ps2/mouse", OPEN_READ); if (fd < 0) { eprintf("couldn't open mouse"); return 1; |