summaryrefslogtreecommitdiff
path: root/src/init
diff options
context:
space:
mode:
Diffstat (limited to 'src/init')
-rw-r--r--src/init/syscalls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init/syscalls.c b/src/init/syscalls.c
index fb59bd3..0be7917 100644
--- a/src/init/syscalls.c
+++ b/src/init/syscalls.c
@@ -16,7 +16,7 @@ int _syscall_await(char *buf, int len) {
return _syscall(_SYSCALL_AWAIT, (int)buf, (int)len, 0);
}
-fd_t _syscall_fs_open(const char *path, size_t len) {
+fd_t _syscall_fs_open(const char *path, int len) {
return _syscall(_SYSCALL_FS_OPEN, (int)path, len, 0);
}