mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:58:11 +00:00
Kernel: Convert a bunch of String::format() => String::formatted()
This commit is contained in:
parent
0ae9ae48fa
commit
7c4ddecacb
14 changed files with 22 additions and 33 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue