diff options
author | Andreas Kling <kling@serenityos.org> | 2021-01-11 22:07:01 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-11 22:07:01 +0100 |
commit | 7c4ddecacbdb3d8279dbe346e7f7ba17fcdbc109 (patch) | |
tree | 30bb622653ef26769b26883012d59b18f29e71ea /Kernel/Thread.cpp | |
parent | 0ae9ae48fafd1ea4bca02111c01002853326dd66 (diff) | |
download | serenity-7c4ddecacbdb3d8279dbe346e7f7ba17fcdbc109.zip |
Kernel: Convert a bunch of String::format() => String::formatted()
Diffstat (limited to 'Kernel/Thread.cpp')
-rw-r--r-- | Kernel/Thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Thread.cpp b/Kernel/Thread.cpp index bf5922db44..17849bd191 100644 --- a/Kernel/Thread.cpp +++ b/Kernel/Thread.cpp @@ -91,7 +91,7 @@ Thread::Thread(NonnullRefPtr<Process> process) m_tss.cr3 = m_process->page_directory().cr3(); - m_kernel_stack_region = MM.allocate_kernel_region(default_kernel_stack_size, String::format("Kernel Stack (Thread %d)", m_tid.value()), Region::Access::Read | Region::Access::Write, false, AllocationStrategy::AllocateNow); + m_kernel_stack_region = MM.allocate_kernel_region(default_kernel_stack_size, String::formatted("Kernel Stack (Thread {})", m_tid.value()), Region::Access::Read | Region::Access::Write, false, AllocationStrategy::AllocateNow); if (!m_kernel_stack_region) { // Abort creating this thread, was_created() will return false return; |