Use long long to print out a bus_addr_t again.
This commit is contained in:
parent
b1e014fc3a
commit
34fa34334e
@ -227,8 +227,8 @@ iir_pci_attach(device_t dev)
|
||||
htole32(GDT_MPR_MAGIC));
|
||||
if (bus_space_read_4(gdt->sc_dpmemt, gdt->sc_dpmemh, GDT_MPR_IC) !=
|
||||
htole32(GDT_MPR_MAGIC)) {
|
||||
printf("cannot access DPMEM at 0x%x (shadowed?)\n",
|
||||
gdt->sc_dpmembase);
|
||||
printf("cannot access DPMEM at 0x%llx (shadowed?)\n",
|
||||
(long long)gdt->sc_dpmembase);
|
||||
error = ENXIO;
|
||||
goto err;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user