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.
This commit is contained in:
Gunnar Beutner 2021-07-22 01:30:24 +02:00 committed by Andreas Kling
commit 36e36507d5
Notes: sideshowbarker 2024-07-18 08:36:56 +09:00
12 changed files with 23 additions and 23 deletions

View file

@ -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;