summaryrefslogtreecommitdiff
path: root/src/init/syscalls.c
diff options
context:
space:
mode:
authordzwdz2021-09-15 06:58:49 +0000
committerdzwdz2021-09-15 06:58:49 +0000
commit9e056016ce39036abbc223260e49964ef74aaa82 (patch)
tree850a89bf9e9a268803dd6cb385c75b86c7859690 /src/init/syscalls.c
parent06f089b35046342fca2c30040749c632785ce6c6 (diff)
fs_wait: pass the file ID too
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 fb50c35..6e00895 100644
--- a/src/init/syscalls.c
+++ b/src/init/syscalls.c
@@ -39,8 +39,8 @@ handle_t _syscall_fs_create(handle_t __user *back) {
return _syscall(_SYSCALL_FS_CREATE, (int)back, 0, 0, 0);
}
-int _syscall_fs_wait(handle_t back, char __user *buf, int __user *len) {
- return _syscall(_SYSCALL_FS_WAIT, back, (int)buf, (int)len, 0);
+int _syscall_fs_wait(handle_t back, char __user *buf, int __user *len, int __user *id) {
+ return _syscall(_SYSCALL_FS_WAIT, back, (int)buf, (int)len, (int)id);
}
int _syscall_fs_respond(char __user *buf, int ret) {