diff options
author | dzwdz | 2022-07-29 18:45:47 +0200 |
---|---|---|
committer | dzwdz | 2022-07-29 18:45:47 +0200 |
commit | a658e1068eb2f849736931d2b99bcb6290c7ec0a (patch) | |
tree | fd2f6d31cf74799aa7318524bea7c707767e6b0e /src/user/lib/fs | |
parent | c6424fbc55298399f133ca1ede11e1f0b4a5c824 (diff) |
syscall: up the max argument count to 5; make write accept flags
Diffstat (limited to 'src/user/lib/fs')
-rw-r--r-- | src/user/lib/fs/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |