summaryrefslogtreecommitdiff
path: root/src/init/syscalls.c
diff options
context:
space:
mode:
authordzwdz2021-11-02 20:22:51 +0100
committerdzwdz2021-11-02 20:22:51 +0100
commit55121883effaca2c8b35cff956092e6f0a99f8ce (patch)
treecb38e53d855e3dab3eb6962fb19d9bff7c7bc20e /src/init/syscalls.c
parenta957c8f0c6b35171378522e03b4360cfc5527832 (diff)
fork2() refactor: implement fs_fork2()
Diffstat (limited to 'src/init/syscalls.c')
-rw-r--r--src/init/syscalls.c4
1 files changed, 2 insertions, 2 deletions
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) {