Use long long to print out a bus_addr_t again.

This commit is contained in:
John Baldwin 2002-11-06 22:42:45 +00:00
parent b1e014fc3a
commit 34fa34334e

View File

@ -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;
}