1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:57:44 +00:00

Kernel: Use Userspace<T> for the umount syscall

This commit is contained in:
Brian Gianforcaro 2020-08-09 15:08:07 -07:00 committed by Andreas Kling
parent 317800324c
commit 82bf6e8133
2 changed files with 2 additions and 2 deletions

View file

@ -122,7 +122,7 @@ int Process::sys$mount(Userspace<const Syscall::SC_mount_params*> user_params)
return result;
}
int Process::sys$umount(const char* user_mountpoint, size_t mountpoint_length)
int Process::sys$umount(Userspace<const char*> user_mountpoint, size_t mountpoint_length)
{
if (!is_superuser())
return -EPERM;