summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls/rmdir.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/rmdir.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/rmdir.cpp')
-rw-r--r--Kernel/Syscalls/rmdir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/rmdir.cpp b/Kernel/Syscalls/rmdir.cpp
index 5b4888b88d..56da04f8ff 100644
--- a/Kernel/Syscalls/rmdir.cpp
+++ b/Kernel/Syscalls/rmdir.cpp
@@ -30,7 +30,7 @@
namespace Kernel {
-int Process::sys$rmdir(const char* user_path, size_t path_length)
+int Process::sys$rmdir(Userspace<const char*> user_path, size_t path_length)
{
REQUIRE_PROMISE(cpath);
auto path = get_syscall_path_argument(user_path, path_length);