mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-12 02:30:30 +09: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
Notes:
sideshowbarker
2024-07-18 08:36:56 +09:00
Author: https://github.com/gunnarbeutner
Commit: 36e36507d5
Pull-request: https://github.com/SerenityOS/serenity/pull/8925
Reviewed-by: https://github.com/awesomekling
12 changed files with 23 additions and 23 deletions
|
@ -151,7 +151,7 @@ NEVER_INLINE static void dump_backtrace_impl(FlatPtr base_pointer, bool use_ksym
|
|||
if (symbol.symbol->address == g_highest_kernel_symbol_address && offset > 4096)
|
||||
dbgln("{:p}", symbol.address);
|
||||
else
|
||||
dbgln("{:p} {} +0x{:x}", symbol.address, symbol.symbol->name, offset);
|
||||
dbgln("{:p} {} +{:#x}", symbol.address, symbol.symbol->name, offset);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue