From a658e1068eb2f849736931d2b99bcb6290c7ec0a Mon Sep 17 00:00:00 2001 From: dzwdz Date: Fri, 29 Jul 2022 18:45:47 +0200 Subject: syscall: up the max argument count to 5; make write accept flags --- src/user/lib/fs/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/user/lib/fs') diff --git a/src/user/lib/fs/misc.c b/src/user/lib/fs/misc.c index 32464b3..55ba9a6 100644 --- a/src/user/lib/fs/misc.c +++ b/src/user/lib/fs/misc.c @@ -151,7 +151,7 @@ void fs_dir_inject(const char *path) { case VFSOP_WRITE: if (data->delegate >= 0) - ret = _syscall_write(data->delegate, buf, res.len, res.offset); + ret = _syscall_write(data->delegate, buf, res.len, res.offset, res.flags); else ret = -1; _syscall_fs_respond(NULL, ret, 0); -- cgit v1.2.3