summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorjhibbits <jhibbits@FreeBSD.org>2016-03-22 22:25:08 +0000
committerjhibbits <jhibbits@FreeBSD.org>2016-03-22 22:25:08 +0000
commitc55aa7292df20bd76969c58915352aedc12e6300 (patch)
tree9b8b9c07cba5a35065331164201f6fc57579a8dc /sys/pc98
parent401325262734585b8e1ddabb2ab9b8c9a7c38424 (diff)
downloadFreeBSD-src-c55aa7292df20bd76969c58915352aedc12e6300.zip
FreeBSD-src-c55aa7292df20bd76969c58915352aedc12e6300.tar.gz
Fix the resource_list_print_type() calls to use uintmax_t.
Missed a bunch from r297000.
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/pc98/canbus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pc98/pc98/canbus.c b/sys/pc98/pc98/canbus.c
index 8c3ee4e..0c54ceb 100644
--- a/sys/pc98/pc98/canbus.c
+++ b/sys/pc98/pc98/canbus.c
@@ -433,9 +433,9 @@ print_all_resources(device_t dev)
if (STAILQ_FIRST(rl))
retval += printf(" at");
- retval += resource_list_print_type(rl, "port", SYS_RES_IOPORT, "%#lx");
- retval += resource_list_print_type(rl, "iomem", SYS_RES_MEMORY, "%#lx");
- retval += resource_list_print_type(rl, "irq", SYS_RES_IRQ, "%ld");
+ retval += resource_list_print_type(rl, "port", SYS_RES_IOPORT, "%#jx");
+ retval += resource_list_print_type(rl, "iomem", SYS_RES_MEMORY, "%#jx");
+ retval += resource_list_print_type(rl, "irq", SYS_RES_IRQ, "%jd");
return retval;
}
OpenPOWER on IntegriCloud