diff options
author | dzwdz | 2021-08-25 11:13:36 +0200 |
---|---|---|
committer | dzwdz | 2021-08-25 11:13:36 +0200 |
commit | df3c01060a5dbeeb3b2ca75e371fa3c480a09f86 (patch) | |
tree | 84b2b3525a94aadd7e00f643afe21446ec8fcc38 /src/shared/syscalls.h | |
parent | b988b821372466ed58eb1d2116bcbb158f70346c (diff) |
change the signature of _syscall_fd_mount
Diffstat (limited to 'src/shared/syscalls.h')
-rw-r--r-- | src/shared/syscalls.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/syscalls.h b/src/shared/syscalls.h index d0c6640..a4957a9 100644 --- a/src/shared/syscalls.h +++ b/src/shared/syscalls.h @@ -13,7 +13,7 @@ enum { _SYSCALL_FORK, _SYSCALL_FS_OPEN, - _SYSCALL_MOUNT, + _SYSCALL_FD_MOUNT, _SYSCALL_FD_READ, _SYSCALL_FD_WRITE, @@ -37,8 +37,8 @@ int _syscall_await(user_ptr buf, int len); int _syscall_fork(void); fd_t _syscall_fs_open(const user_ptr path, int len); -int _syscall_mount(const user_ptr path, int len, fd_t fd); +int _syscall_fd_mount(fd_t fd, const user_ptr path, int len); int _syscall_fd_read(fd_t fd, user_ptr buf, int len); int _syscall_fd_write(fd_t fd, user_ptr buf, int len); int _syscall_fd_close(fd_t fd); |