AK: Remove custom %b format string specifier

This was a non-standard specifier alias for %02x. This patch replaces
all uses of it with new-style formatting functions instead.
This commit is contained in:
Andreas Kling 2020-12-25 16:45:35 +01:00
commit cb2c8f71f4
Notes: sideshowbarker 2024-07-19 00:36:38 +09:00
12 changed files with 27 additions and 28 deletions

View file

@ -296,7 +296,7 @@ void KeyboardDevice::irq_handle_byte_read(u8 byte)
}
#ifdef KEYBOARD_DEBUG
dbg() << "Keyboard::irq_handle_byte_read: " << String::format("%b", ch) << " " << (pressed ? "down" : "up");
dbgln("Keyboard::irq_handle_byte_read: {:#02x} {}", ch, (pressed ? "down" : "up"));
#endif
switch (ch) {
case 0x38: