summaryrefslogtreecommitdiff
path: root/src/libc/compat.c
diff options
context:
space:
mode:
authordzwdz2024-08-17 17:22:03 +0200
committerdzwdz2024-08-17 17:22:03 +0200
commitc04e6c907efdbfa0a897c55530262f59ea1a5cef (patch)
tree94aa0befec881039ca3fd8cc265f4687d67e83ac /src/libc/compat.c
parent35d62d227ea74e19eebcca3882dd8a97778736e7 (diff)
libc/compat: make c0_fs_respond's buffer argument const
Diffstat (limited to 'src/libc/compat.c')
-rw-r--r--src/libc/compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libc/compat.c b/src/libc/compat.c
index 459a0aa..f917d47 100644
--- a/src/libc/compat.c
+++ b/src/libc/compat.c
@@ -11,7 +11,7 @@ long c0_fs_wait(char *buf, long len, struct ufs_request *res) {
h = _sys_fs_wait(buf, len, res);
return h >= 0 ? 0 : -1;
}
-long c0_fs_respond(void *buf, long ret, int flags) {
+long c0_fs_respond(const void *buf, long ret, int flags) {
ret = _sys_fs_respond(h, buf, ret, flags);
h = -1;
return ret;