summaryrefslogtreecommitdiff
path: root/src/user
diff options
context:
space:
mode:
authordzwdz2022-08-22 15:02:16 +0200
committerdzwdz2022-08-22 15:02:16 +0200
commitd5cca73003febe187f5383bc80d3378966d060c0 (patch)
tree5677121b75570711272b2417104a921794825313 /src/user
parent06beffa4f8f350aad6f6167abb7bebeecd0166ff (diff)
syscalls/fs_respond: make the *buf argument const
Diffstat (limited to 'src/user')
-rw-r--r--src/user/lib/syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user/lib/syscall.c b/src/user/lib/syscall.c
index d001990..50467b3 100644
--- a/src/user/lib/syscall.c
+++ b/src/user/lib/syscall.c
@@ -54,7 +54,7 @@ handle_t _syscall_fs_wait(char __user *buf, long max_len, struct fs_wait_respons
return (handle_t)_syscall(_SYSCALL_FS_WAIT, (long)buf, max_len, (long)res, 0, 0);
}
-long _syscall_fs_respond(handle_t hid, void __user *buf, long ret, int flags) {
+long _syscall_fs_respond(handle_t hid, const void __user *buf, long ret, int flags) {
return _syscall(_SYSCALL_FS_RESPOND, (long)hid, (long)buf, ret, (long)flags, 0);
}