diff options
author | dzwdz | 2021-09-05 18:59:49 +0200 |
---|---|---|
committer | dzwdz | 2021-09-05 18:59:49 +0200 |
commit | 252f5e40c1c054e6ad52a413567460f3ed2917f4 (patch) | |
tree | 171e73b57eed28aa3438ebc52b584122738d420b /src/kernel/syscalls.c | |
parent | 0f24fa98fd340205e7041d057b68d99893f2015d (diff) |
fix some warnings
Diffstat (limited to 'src/kernel/syscalls.c')
-rw-r--r-- | src/kernel/syscalls.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/kernel/syscalls.c b/src/kernel/syscalls.c index 88dceef..6b0f4a2 100644 --- a/src/kernel/syscalls.c +++ b/src/kernel/syscalls.c @@ -9,7 +9,7 @@ #include <stdint.h> _Noreturn static void await_finish(struct process *dead, struct process *listener) { - size_t len; + int len; bool res; assert(dead->state == PS_DEAD); @@ -102,7 +102,6 @@ handle_t _syscall_open(const user_ptr path, int len) { } int _syscall_mount(handle_t handle, const user_ptr path, int len) { - struct virt_iter iter; struct vfs_mount *mount = NULL; char *path_buf; int res; |