Avoid using '#' format spec for X hex numbers.
Avoid using '#' format spec for X (uppercase) hex numbers, as it results in output like "0XABCDEF" instead of "0xABCDEF".
This commit is contained in:
@@ -114,7 +114,7 @@ bool ElfModule::Load(const std::string_view name, const std::string_view path,
|
||||
// Allocate and copy into memory.
|
||||
// Base address @ 0x80000000
|
||||
if (phdr[i].p_vaddr < 0x80000000 || phdr[i].p_vaddr > 0x9FFFFFFF) {
|
||||
XELOGE("ELF: Could not allocate memory for section @ address {:#08X}",
|
||||
XELOGE("ELF: Could not allocate memory for section @ address 0x{:08X}",
|
||||
uint32_t(phdr[i].p_vaddr));
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user