diff options
Diffstat (limited to 'src/init/driver/tmpfs.c')
-rw-r--r-- | src/init/driver/tmpfs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/init/driver/tmpfs.c b/src/init/driver/tmpfs.c index 17b5b9b..4b639da 100644 --- a/src/init/driver/tmpfs.c +++ b/src/init/driver/tmpfs.c @@ -51,13 +51,13 @@ void tmpfs_drv(void) { while (!_syscall_fs_wait(buf, sizeof buf, &res)) { switch (res.op) { case VFSOP_OPEN: - _syscall_fs_respond(NULL, tmpfs_open(buf, &res)); + _syscall_fs_respond(NULL, tmpfs_open(buf, &res), 0); break; case VFSOP_READ: if (res.id != 0) { // rw unimplemented - _syscall_fs_respond(NULL, -1); + _syscall_fs_respond(NULL, -1, 0); break; } size_t buf_pos = 0; @@ -79,11 +79,11 @@ void tmpfs_drv(void) { buf[buf_pos++] = '\0'; to_skip = 0; } - _syscall_fs_respond(buf, buf_pos); + _syscall_fs_respond(buf, buf_pos, 0); break; default: - _syscall_fs_respond(NULL, -1); + _syscall_fs_respond(NULL, -1, 0); break; } } |