summaryrefslogtreecommitdiffstats
path: root/sys/arm/xscale/pxa/pxa_obio.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm/xscale/pxa/pxa_obio.c')
-rw-r--r--sys/arm/xscale/pxa/pxa_obio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arm/xscale/pxa/pxa_obio.c b/sys/arm/xscale/pxa/pxa_obio.c
index 6761ca3..6081588 100644
--- a/sys/arm/xscale/pxa/pxa_obio.c
+++ b/sys/arm/xscale/pxa/pxa_obio.c
@@ -159,9 +159,9 @@ pxa_print_child(device_t dev, device_t child)
retval += bus_print_child_header(dev, child);
retval += resource_list_print_type(&od->od_resources, "at mem",
- SYS_RES_MEMORY, "0x%08lx");
+ SYS_RES_MEMORY, "0x%08jx");
retval += resource_list_print_type(&od->od_resources, "irq",
- SYS_RES_IRQ, "%ld");
+ SYS_RES_IRQ, "%jd");
retval += bus_print_child_footer(dev, child);
@@ -390,7 +390,7 @@ pxa_alloc_gpio_irq(device_t dev, device_t child, int type, int *rid,
}
if (bootverbose)
- device_printf(dev, "lazy allocation of irq %ld for %s\n",
+ device_printf(dev, "lazy allocation of irq %jd for %s\n",
start, device_get_nameunit(child));
return (rv);
OpenPOWER on IntegriCloud