diff options
Diffstat (limited to 'src/user/app/netdog')
-rw-r--r-- | src/user/app/netdog/nd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/user/app/netdog/nd.c b/src/user/app/netdog/nd.c index 8c16bb0..93e1d3a 100644 --- a/src/user/app/netdog/nd.c +++ b/src/user/app/netdog/nd.c @@ -1,4 +1,4 @@ -#include <camellia/flags.h> +#include <camellia.h> #include <camellia/syscalls.h> #include <stdio.h> #include <string.h> @@ -35,7 +35,7 @@ int main(int argc, char **argv) { return 1; } - conn = _syscall_open(argv[1], strlen(argv[1]), OPEN_RW); + conn = camellia_open(argv[1], OPEN_RW); if (conn < 0) { eprintf("couldn't open '%s', err %u", argv[1], -conn); return -conn; |