summaryrefslogtreecommitdiff
path: root/Kernel/Graphics
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-07-22 01:30:24 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-22 08:57:01 +0200
commit36e36507d50fd9d36670a855eaeb8f2a58a35131 (patch)
tree39690ac3760ecf16cc81cd25470665122ac31a89 /Kernel/Graphics
parent31f30e732a947cabdefcd3a7d3758fa5ff3601fa (diff)
downloadserenity-36e36507d50fd9d36670a855eaeb8f2a58a35131.zip
Everywhere: Prefer using {:#x} over 0x{:x}
We have a dedicated format specifier which adds the "0x" prefix, so let's use that instead of adding it manually.
Diffstat (limited to 'Kernel/Graphics')
-rw-r--r--Kernel/Graphics/VirtIOGPU/GPU.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Graphics/VirtIOGPU/GPU.cpp b/Kernel/Graphics/VirtIOGPU/GPU.cpp
index 38a418ce27..15eb5bdafc 100644
--- a/Kernel/Graphics/VirtIOGPU/GPU.cpp
+++ b/Kernel/Graphics/VirtIOGPU/GPU.cpp
@@ -69,7 +69,7 @@ bool GPU::handle_device_config_change()
clear_pending_events(VIRTIO_GPU_EVENT_DISPLAY);
}
if (events & ~VIRTIO_GPU_EVENT_DISPLAY) {
- dbgln("GPU: Got unknown device config change event: 0x{:x}", events);
+ dbgln("GPU: Got unknown device config change event: {:#x}", events);
return false;
}
return true;