diff options
Diffstat (limited to 'src/kernel')
-rw-r--r-- | src/kernel/syscalls.c | 2 | ||||
-rw-r--r-- | src/kernel/syscalls.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/syscalls.c b/src/kernel/syscalls.c index 0a88c98..ccf0a52 100644 --- a/src/kernel/syscalls.c +++ b/src/kernel/syscalls.c @@ -65,7 +65,7 @@ int _syscall_fork() { return 1; } -fd_t _syscall_fs_open(const char *path, size_t len) { +fd_t _syscall_fs_open(const char *path, int len) { struct virt_iter iter; struct vfs_mount *mount = process_current->mount; static char buffer[PATH_MAX]; // holds the path diff --git a/src/kernel/syscalls.h b/src/kernel/syscalls.h index c8dca05..f3e8dc0 100644 --- a/src/kernel/syscalls.h +++ b/src/kernel/syscalls.h @@ -33,7 +33,7 @@ int _syscall_await(char *buf, int len); */ int _syscall_fork(); -fd_t _syscall_fs_open(const char *path, size_t len); +fd_t _syscall_fs_open(const char *path, int len); int _syscall_mount(const char *path, int len, fd_t fd); /** Prints a message to the debug console. |