summaryrefslogtreecommitdiff
path: root/Kernel/Time
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-01-11 22:07:01 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-11 22:07:01 +0100
commit7c4ddecacbdb3d8279dbe346e7f7ba17fcdbc109 (patch)
tree30bb622653ef26769b26883012d59b18f29e71ea /Kernel/Time
parent0ae9ae48fafd1ea4bca02111c01002853326dd66 (diff)
downloadserenity-7c4ddecacbdb3d8279dbe346e7f7ba17fcdbc109.zip
Kernel: Convert a bunch of String::format() => String::formatted()
Diffstat (limited to 'Kernel/Time')
-rw-r--r--Kernel/Time/PIT.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Time/PIT.cpp b/Kernel/Time/PIT.cpp
index 3234a5cf53..df3af8167b 100644
--- a/Kernel/Time/PIT.cpp
+++ b/Kernel/Time/PIT.cpp
@@ -53,7 +53,7 @@ PIT::PIT(Function<void(const RegisterState&)> callback)
{
IO::out8(PIT_CTL, TIMER0_SELECT | WRITE_WORD | MODE_SQUARE_WAVE);
- klog() << "PIT: " << OPTIMAL_TICKS_PER_SECOND_RATE << " Hz, square wave (" << String::format("%x", BASE_FREQUENCY / OPTIMAL_TICKS_PER_SECOND_RATE) << ")";
+ klog() << "PIT: " << OPTIMAL_TICKS_PER_SECOND_RATE << " Hz, square wave (" << String::formatted("{:x}", BASE_FREQUENCY / OPTIMAL_TICKS_PER_SECOND_RATE) << ")";
reset_to_default_ticks_per_second();
enable_irq();
}