mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:27:45 +00:00
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:
parent
31f30e732a
commit
36e36507d5
12 changed files with 23 additions and 23 deletions
|
@ -852,7 +852,7 @@ u32 Emulator::virt$mmap(u32 params_addr)
|
|||
else {
|
||||
// mmap(nullptr, …, MAP_FIXED) is technically okay, but tends to be a bug.
|
||||
// Therefore, refuse to be helpful.
|
||||
reportln("\n=={}== \033[31;1mTried to mmap at nullptr with MAP_FIXED.\033[0m, 0x{:x} bytes.", getpid(), params.size);
|
||||
reportln("\n=={}== \033[31;1mTried to mmap at nullptr with MAP_FIXED.\033[0m, {:#x} bytes.", getpid(), params.size);
|
||||
dump_backtrace();
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue