diff options
author | Andreas Kling <kling@serenityos.org> | 2020-09-28 22:24:27 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-09-28 22:24:27 +0200 |
commit | 0930e2323b4399a9abb742947817d7547380ce07 (patch) | |
tree | 8f02b6eb9acf3272eee3b01d8e6c9e2480d955ba | |
parent | f88a7cd4e127baf6bdf1161c6867c6953ee4cc19 (diff) | |
download | serenity-0930e2323b4399a9abb742947817d7547380ce07.zip |
Kernel: Remove unnecessary capture in sys$execve()
-rw-r--r-- | Kernel/Syscalls/execve.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/execve.cpp b/Kernel/Syscalls/execve.cpp index 03d1597ebc..ac8492745d 100644 --- a/Kernel/Syscalls/execve.cpp +++ b/Kernel/Syscalls/execve.cpp @@ -578,7 +578,7 @@ int Process::sys$execve(Userspace<const Syscall::SC_execve_params*> user_params) path = path_arg.value(); } - auto copy_user_strings = [this](const auto& list, auto& output) { + auto copy_user_strings = [](const auto& list, auto& output) { if (!list.length) return true; Checked size = sizeof(list.length); |