summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls/fork.cpp
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-06-06 14:40:03 -0700
committerAndreas Kling <kling@serenityos.org>2021-06-07 09:42:55 +0200
commit9fccbde371cf06334c335469a01a153454c4596a (patch)
treeabd9ba4c1f4140fbc3ab66e552396a93c6a287c8 /Kernel/Syscalls/fork.cpp
parent252e98761a95d098a571eab93a7daadab74e3af2 (diff)
downloadserenity-9fccbde371cf06334c335469a01a153454c4596a.zip
Kernel: Switch Process to InstrusiveList from InlineLinkedList
Diffstat (limited to 'Kernel/Syscalls/fork.cpp')
-rw-r--r--Kernel/Syscalls/fork.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/fork.cpp b/Kernel/Syscalls/fork.cpp
index 5da7afc28f..1f7d708642 100644
--- a/Kernel/Syscalls/fork.cpp
+++ b/Kernel/Syscalls/fork.cpp
@@ -82,7 +82,7 @@ KResultOr<pid_t> Process::sys$fork(RegisterState& regs)
}
ScopedSpinLock processes_lock(g_processes_lock);
- g_processes->prepend(child);
+ g_processes->prepend(*child);
}
PerformanceManager::add_process_created_event(*child);