diff options
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 3a732af..32464b3 100644 --- a/src/user/lib/fs/misc.c +++ b/src/user/lib/fs/misc.c @@ -132,7 +132,7 @@ void fs_dir_inject(const char *path) { break; case VFSOP_READ: - if (res.offset > 0) _syscall_fs_respond(NULL, 0, 0); // TODO working offsets + if (res.offset != 0) _syscall_fs_respond(NULL, -1, 0); // TODO working offsets int out_len = data->inject_len; memcpy(buf, data->inject, out_len); |