summaryrefslogtreecommitdiff
path: root/src/kernel/syscalls.c
diff options
context:
space:
mode:
authordzwdz2022-07-07 18:34:47 +0200
committerdzwdz2022-07-07 18:34:47 +0200
commit8dc3d7df4c73b320fa84b2e871732276a7c6e20f (patch)
tree8c0eae523e8349cdf7763e5deacd6b5e10c85f61 /src/kernel/syscalls.c
parentb935b0202ffeafcf775be96c95c8a67b62241a12 (diff)
shared: add a flags argument to _syscall_fs_respond
Diffstat (limited to 'src/kernel/syscalls.c')
-rw-r--r--src/kernel/syscalls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/syscalls.c b/src/kernel/syscalls.c
index ae8b0e5..d703b52 100644
--- a/src/kernel/syscalls.c
+++ b/src/kernel/syscalls.c
@@ -246,7 +246,7 @@ int _syscall_fs_wait(char __user *buf, int max_len, struct fs_wait_response __us
return -1; // dummy
}
-int _syscall_fs_respond(char __user *buf, int ret) {
+int _syscall_fs_respond(char __user *buf, int ret, int flags) {
struct vfs_request *req = process_current->handled_req;
if (!req) SYSCALL_RETURN(-1);
@@ -353,7 +353,7 @@ int _syscall(int num, int a, int b, int c, int d) {
_syscall_fs_wait((userptr_t)a, b, (userptr_t)c);
break;
case _SYSCALL_FS_RESPOND:
- _syscall_fs_respond((userptr_t)a, b);
+ _syscall_fs_respond((userptr_t)a, b, c);
break;
case _SYSCALL_MEMFLAG:
_syscall_memflag((userptr_t)a, b, c);