summaryrefslogtreecommitdiff
path: root/src/kernel/syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/syscalls.c')
-rw-r--r--src/kernel/syscalls.c3
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;