summaryrefslogtreecommitdiff
path: root/sys/kern/kern_syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_syscall.c')
-rw-r--r--sys/kern/kern_syscall.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/kern_syscall.c b/sys/kern/kern_syscall.c
index 1a750cc..2c81d2c 100644
--- a/sys/kern/kern_syscall.c
+++ b/sys/kern/kern_syscall.c
@@ -30,10 +30,12 @@
#include <sys/syscall.h>
#include <sys/types.h>
#include <sys/proc.h>
+#include <sys/vfs.h>
scret_t(*g_sctab[])(struct syscall_args *) = {
NULL, /* SYS_none */
sys_exit, /* SYS_exit */
+ sys_open, /* SYS_open */
};
const size_t MAX_SYSCALLS = NELEM(g_sctab);