summaryrefslogtreecommitdiffstats
path: root/sys/dev/bhnd/bhndb/bhndb.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/bhnd/bhndb/bhndb.c')
-rw-r--r--sys/dev/bhnd/bhndb/bhndb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/bhnd/bhndb/bhndb.c b/sys/dev/bhnd/bhndb/bhndb.c
index 238d4ee..43580b7 100644
--- a/sys/dev/bhnd/bhndb/bhndb.c
+++ b/sys/dev/bhnd/bhndb/bhndb.c
@@ -143,9 +143,9 @@ bhndb_print_child(device_t dev, device_t child)
rl = BUS_GET_RESOURCE_LIST(dev, child);
if (rl != NULL) {
retval += resource_list_print_type(rl, "mem", SYS_RES_MEMORY,
- "%#lx");
+ "%#jx");
retval += resource_list_print_type(rl, "irq", SYS_RES_IRQ,
- "%ld");
+ "%jd");
}
retval += bus_print_child_domain(dev, child);
OpenPOWER on IntegriCloud