summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Kernel/Process.h2
-rw-r--r--Kernel/Syscalls/mmap.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h
index 07198c9efa..b329db5b3c 100644
--- a/Kernel/Process.h
+++ b/Kernel/Process.h
@@ -225,7 +225,7 @@ public:
pid_t sys$waitid(Userspace<const Syscall::SC_waitid_params*>);
void* sys$mmap(Userspace<const Syscall::SC_mmap_params*>);
int sys$munmap(void*, size_t size);
- int sys$set_mmap_name(const Syscall::SC_set_mmap_name_params*);
+ int sys$set_mmap_name(Userspace<const Syscall::SC_set_mmap_name_params*>);
int sys$mprotect(void*, size_t, int prot);
int sys$madvise(void*, size_t, int advice);
int sys$minherit(void*, size_t, int inherit);
diff --git a/Kernel/Syscalls/mmap.cpp b/Kernel/Syscalls/mmap.cpp
index 243d035008..e99be2775a 100644
--- a/Kernel/Syscalls/mmap.cpp
+++ b/Kernel/Syscalls/mmap.cpp
@@ -331,7 +331,7 @@ int Process::sys$minherit(void* address, size_t size, int inherit)
return -EINVAL;
}
-int Process::sys$set_mmap_name(const Syscall::SC_set_mmap_name_params* user_params)
+int Process::sys$set_mmap_name(Userspace<const Syscall::SC_set_mmap_name_params*> user_params)
{
REQUIRE_PROMISE(stdio);