summaryrefslogtreecommitdiff
path: root/src/init/syscalls.c
diff options
context:
space:
mode:
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 8c747e4..7963da2 100644
--- a/src/init/syscalls.c
+++ b/src/init/syscalls.c
@@ -21,8 +21,8 @@ fd_t _syscall_fs_open(const user_ptr path, int len) {
return _syscall(_SYSCALL_FS_OPEN, (int)path, len, 0);
}
-int _syscall_mount(const user_ptr path, int len, fd_t fd) {
- return _syscall(_SYSCALL_MOUNT, (int)path, len, fd);
+int _syscall_fd_mount(fd_t fd, const user_ptr path, int len) {
+ return _syscall(_SYSCALL_FD_MOUNT, fd, (int)path, len);
}
int _syscall_fd_read(fd_t fd, user_ptr buf, int len) {