From 36e36507d50fd9d36670a855eaeb8f2a58a35131 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Thu, 22 Jul 2021 01:30:24 +0200 Subject: 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. --- Kernel/Graphics/VirtIOGPU/GPU.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Kernel/Graphics') 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; -- cgit v1.2.3