Fix printf warnings for addr and size args

This commit is contained in:
Fredrik Holmqvist
2017-02-20 14:26:32 +01:00
parent 0446f6b25f
commit 06f719d1c3
@@ -475,7 +475,8 @@ AcpiOsMapMemory(ACPI_PHYSICAL_ADDRESS where, ACPI_SIZE length)
DEBUG_FUNCTION_F("addr: 0x%08lx; length: %lu; mapped: %p; area: %ld",
(addr_t)where, (size_t)length, there, area);
if (area < 0) {
dprintf("ACPI: cannot map memory at 0x%08x, length %d\n", where, length);
dprintf("ACPI: cannot map memory at 0x%" B_PRIuADDR ", length %"
B_PRIuSIZE "\n", where, length);
return NULL;
}
return there;