summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/pci_host_generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/pci_host_generic.c')
-rw-r--r--sys/dev/pci/pci_host_generic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/pci_host_generic.c b/sys/dev/pci/pci_host_generic.c
index f0c8d45..110ee68 100644
--- a/sys/dev/pci/pci_host_generic.c
+++ b/sys/dev/pci/pci_host_generic.c
@@ -540,7 +540,7 @@ generic_pcie_alloc_resource_pcie(device_t dev, device_t child, int type, int *ri
if (bootverbose) {
device_printf(dev,
- "rman_reserve_resource: start=%#lx, end=%#lx, count=%#lx\n",
+ "rman_reserve_resource: start=%#jx, end=%#jx, count=%#jx\n",
start, end, count);
}
@@ -560,7 +560,7 @@ generic_pcie_alloc_resource_pcie(device_t dev, device_t child, int type, int *ri
fail:
device_printf(dev, "%s FAIL: type=%d, rid=%d, "
- "start=%016lx, end=%016lx, count=%016lx, flags=%x\n",
+ "start=%016jx, end=%016jx, count=%016jx, flags=%x\n",
__func__, type, *rid, start, end, count, flags);
return (NULL);
@@ -744,7 +744,7 @@ generic_pcie_alloc_resource_ofw(device_t bus, device_t child, int type, int *rid
if (i == MAX_RANGES_TUPLES) {
device_printf(bus, "Could not map resource "
- "%#lx-%#lx\n", start, end);
+ "%#jx-%#jx\n", start, end);
return (NULL);
}
}
OpenPOWER on IntegriCloud