summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls/access.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-08-01 19:38:31 +0200
committerAndreas Kling <kling@serenityos.org>2020-08-02 11:01:00 +0200
commite526fa572a9764a8f7a5854e259a9146fdfb13a7 (patch)
tree3b3b072d445a9787bfeee4f33dbe421efce9b359 /Kernel/Syscalls/access.cpp
parent9bcf0b70cbae0fa1bf31fad9b95b7272991b42e9 (diff)
downloadserenity-e526fa572a9764a8f7a5854e259a9146fdfb13a7.zip
Kernel: Convert some more syscalls to Userspace<T>
These are really straightforward when all the helpers just work.
Diffstat (limited to 'Kernel/Syscalls/access.cpp')
-rw-r--r--Kernel/Syscalls/access.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/access.cpp b/Kernel/Syscalls/access.cpp
index cb91ea050b..6af702166c 100644
--- a/Kernel/Syscalls/access.cpp
+++ b/Kernel/Syscalls/access.cpp
@@ -30,7 +30,7 @@
namespace Kernel {
-int Process::sys$access(const char* user_path, size_t path_length, int mode)
+int Process::sys$access(Userspace<const char*> user_path, size_t path_length, int mode)
{
REQUIRE_PROMISE(rpath);
auto path = get_syscall_path_argument(user_path, path_length);