diff options
Diffstat (limited to 'Kernel/Syscalls/module.cpp')
-rw-r--r-- | Kernel/Syscalls/module.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/module.cpp b/Kernel/Syscalls/module.cpp index 6da8ff8144..f8d9e0ac9f 100644 --- a/Kernel/Syscalls/module.cpp +++ b/Kernel/Syscalls/module.cpp @@ -169,7 +169,7 @@ int Process::sys$module_unload(Userspace<const char*> user_name, size_t name_len REQUIRE_NO_PROMISES; - auto module_name = validate_and_copy_string_from_user(user_name, name_length); + auto module_name = copy_string_from_user(user_name, name_length); if (module_name.is_null()) return -EFAULT; |