mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-30 05:08:56 +00:00
Kernel: Convert a bunch of String::format() => String::formatted()
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user