diff --git a/Kernel/Process.h b/Kernel/Process.h index d91817b163..3b84fb56a8 100644 --- a/Kernel/Process.h +++ b/Kernel/Process.h @@ -285,7 +285,7 @@ public: int sys$symlink(Userspace); int sys$rmdir(Userspace pathname, size_t path_length); int sys$mount(Userspace); - int sys$umount(const char* mountpoint, size_t mountpoint_length); + int sys$umount(Userspace mountpoint, size_t mountpoint_length); int sys$chmod(const char* pathname, size_t path_length, mode_t); int sys$fchmod(int fd, mode_t); int sys$chown(Userspace); diff --git a/Kernel/Syscalls/mount.cpp b/Kernel/Syscalls/mount.cpp index a10de855a5..68f9a3ba89 100644 --- a/Kernel/Syscalls/mount.cpp +++ b/Kernel/Syscalls/mount.cpp @@ -122,7 +122,7 @@ int Process::sys$mount(Userspace user_params) return result; } -int Process::sys$umount(const char* user_mountpoint, size_t mountpoint_length) +int Process::sys$umount(Userspace user_mountpoint, size_t mountpoint_length) { if (!is_superuser()) return -EPERM;