summaryrefslogtreecommitdiff
path: root/Kernel/Process.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-12-24 23:10:48 +0100
committerAndreas Kling <awesomekling@gmail.com>2018-12-24 23:10:48 +0100
commit033a42b5803728404375f09e32366b31fc963115 (patch)
tree900415b89e1bb8000f1e99d47f8055273b0fbe8b /Kernel/Process.cpp
parent503e32552c19d134efb0cd565dde05124e78beb3 (diff)
downloadserenity-033a42b5803728404375f09e32366b31fc963115.zip
The syncd loop can just be a lambda.
Diffstat (limited to 'Kernel/Process.cpp')
-rw-r--r--Kernel/Process.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp
index 0635a5aa13..c41cce5f84 100644
--- a/Kernel/Process.cpp
+++ b/Kernel/Process.cpp
@@ -544,7 +544,7 @@ int Process::sys$get_arguments(int* argc, char*** argv)
return 0;
}
-Process* Process::create_kernel_process(void (*e)(), String&& name)
+Process* Process::create_kernel_process(String&& name, void (*e)())
{
auto* process = new Process(move(name), (uid_t)0, (gid_t)0, (pid_t)0, Ring0);
process->m_tss.eip = (dword)e;