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

Kernel: Use Userspace<T> for the rename syscall

This commit is contained in:
Brian Gianforcaro 2020-08-05 00:05:08 -07:00 committed by Andreas Kling
parent c1541f4a61
commit 337e8f98cd
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@
namespace Kernel {
int Process::sys$rename(const Syscall::SC_rename_params* user_params)
int Process::sys$rename(Userspace<const Syscall::SC_rename_params*> user_params)
{
REQUIRE_PROMISE(cpath);
Syscall::SC_rename_params params;