diff options
-rw-r--r-- | Kernel/Syscalls/pledge.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/pledge.cpp b/Kernel/Syscalls/pledge.cpp index e90e7eefea..a55cf68231 100644 --- a/Kernel/Syscalls/pledge.cpp +++ b/Kernel/Syscalls/pledge.cpp @@ -40,7 +40,7 @@ int Process::sys$pledge(Userspace<const Syscall::SC_pledge_params*> user_params) String promises; if (params.promises.characters) { - auto promises = copy_string_from_user(params.promises); + promises = copy_string_from_user(params.promises); if (promises.is_null()) return -EFAULT; } |