summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls/rmdir.cpp
diff options
context:
space:
mode:
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);