From 55121883effaca2c8b35cff956092e6f0a99f8ce Mon Sep 17 00:00:00 2001 From: dzwdz Date: Tue, 2 Nov 2021 20:22:51 +0100 Subject: fork2() refactor: implement fs_fork2() --- src/init/syscalls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/init/syscalls.c') diff --git a/src/init/syscalls.c b/src/init/syscalls.c index e14dfe8..b535cae 100644 --- a/src/init/syscalls.c +++ b/src/init/syscalls.c @@ -34,8 +34,8 @@ int _syscall_close(handle_t handle) { return _syscall(_SYSCALL_CLOSE, handle, 0, 0, 0); } -handle_t _syscall_fs_create(void) { - return _syscall(_SYSCALL_FS_CREATE, 0, 0, 0, 0); +handle_t _syscall_fs_fork2(void) { + return _syscall(_SYSCALL_FS_FORK2, 0, 0, 0, 0); } int _syscall_fs_wait(char __user *buf, int max_len, struct fs_wait_response __user *res) { -- cgit v1.2.3