From df3c01060a5dbeeb3b2ca75e371fa3c480a09f86 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Wed, 25 Aug 2021 11:13:36 +0200 Subject: change the signature of _syscall_fd_mount --- 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 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) { -- cgit v1.2.3