boot/efi: fix compile issue with format strings

Change-Id: I144afe78f73fed211ea1c72584fa5f12e4452454
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4751
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
David Karoly
2021-12-02 12:50:54 +00:00
committed by Adrien Destugues
parent e82b457883
commit 563ac51229
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -92,7 +92,7 @@ acpi_check_rsdt(acpi_rsdp* rsdp)
TRACE(("acpi: found rsdp at %p oem id: %.6s, rev %d\n",
rsdp, rsdp->oem_id, rsdp->revision));
TRACE(("acpi: rsdp points to rsdt at 0x%x\n", rsdp->rsdt_address));
TRACE(("acpi: rsdp points to rsdt at 0x%" B_PRIx32 "\n", rsdp->rsdt_address));
acpi_descriptor_header* rsdt = NULL;
if (rsdp->revision > 0) {
@@ -120,7 +120,7 @@ acpi_check_rsdt(acpi_rsdp* rsdp)
return B_ERROR;
}
TRACE(("acpi: rsdt length: %u\n", rsdt->length));
TRACE(("acpi: rsdt length: %" B_PRIu32 "\n", rsdt->length));
}
if (rsdt != NULL) {
@@ -160,7 +160,7 @@ acpi_find_table_generic(const char* signature, acpi_descriptor_header* acpiSdt)
return NULL;
}
TRACE(("acpi: searching %d entries for table '%.4s'\n", sNumEntries,
TRACE(("acpi: searching %" B_PRId32 " entries for table '%.4s'\n", sNumEntries,
signature));
PointerType* pointer = (PointerType*)((uint8*)acpiSdt
+1 -1
View File
@@ -32,7 +32,7 @@ struct memory_region {
size_t size;
void dprint(const char * msg) {
dprintf("%s memory_region v: %#lx p: %#lx size: %lu\n", msg, vaddr,
dprintf("%s memory_region v: %#" B_PRIxADDR " p: %#" B_PRIxPHYSADDR " size: %lu\n", msg, vaddr,
paddr, size);
}