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

Kernel: Use Userspace<T> in more syscalls

This commit is contained in:
Andreas Kling 2020-08-01 11:37:40 +02:00
parent 6c1ba09fbd
commit 8d4d1c7457
4 changed files with 11 additions and 15 deletions

View file

@ -31,7 +31,7 @@
namespace Kernel {
int Process::sys$watch_file(const char* user_path, size_t path_length)
int Process::sys$watch_file(Userspace<const char*> user_path, size_t path_length)
{
REQUIRE_PROMISE(rpath);
auto path = get_syscall_path_argument(user_path, path_length);