diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-12-24 23:10:48 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-12-24 23:10:48 +0100 |
commit | 033a42b5803728404375f09e32366b31fc963115 (patch) | |
tree | 900415b89e1bb8000f1e99d47f8055273b0fbe8b /Kernel/Process.cpp | |
parent | 503e32552c19d134efb0cd565dde05124e78beb3 (diff) | |
download | serenity-033a42b5803728404375f09e32366b31fc963115.zip |
The syncd loop can just be a lambda.
Diffstat (limited to 'Kernel/Process.cpp')
-rw-r--r-- | Kernel/Process.cpp | 2 |
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; |