summaryrefslogtreecommitdiff
path: root/Kernel/Tasks/FinalizerTask.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-09-07 12:53:28 +0200
committerAndreas Kling <kling@serenityos.org>2021-09-07 13:53:14 +0200
commit55b0b06897b7160b5fbc18ff9186a2242bbdf318 (patch)
tree02ba4614e201ed5ca777e9de392c30e1ed8b935e /Kernel/Tasks/FinalizerTask.cpp
parentdb2e67fd53facb5120f565bff761abf9a6d99cb6 (diff)
downloadserenity-55b0b06897b7160b5fbc18ff9186a2242bbdf318.zip
Kernel: Store process names as KString
Diffstat (limited to 'Kernel/Tasks/FinalizerTask.cpp')
-rw-r--r--Kernel/Tasks/FinalizerTask.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Tasks/FinalizerTask.cpp b/Kernel/Tasks/FinalizerTask.cpp
index ffdfb09ef3..a8283f4826 100644
--- a/Kernel/Tasks/FinalizerTask.cpp
+++ b/Kernel/Tasks/FinalizerTask.cpp
@@ -24,7 +24,7 @@ static void finalizer_task(void*)
UNMAP_AFTER_INIT void FinalizerTask::spawn()
{
RefPtr<Thread> finalizer_thread;
- auto finalizer_process = Process::create_kernel_process(finalizer_thread, "FinalizerTask", finalizer_task, nullptr);
+ auto finalizer_process = Process::create_kernel_process(finalizer_thread, KString::must_create("FinalizerTask"), finalizer_task, nullptr);
VERIFY(finalizer_process);
g_finalizer = finalizer_thread;
}