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:
parent
317800324c
commit
82bf6e8133
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue