aboutsummaryrefslogtreecommitdiff
path: root/sys/sparc64/fhc/fhc.c
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2016-03-22 22:25:08 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2016-03-22 22:25:08 +0000
commitf8fd3fb51851136d6e74578405d3ba9b01f223b9 (patch)
tree9b8b9c07cba5a35065331164201f6fc57579a8dc /sys/sparc64/fhc/fhc.c
parent0d66701783514df58843f8d511a61e9d95d3821b (diff)
downloadsrc-f8fd3fb51851136d6e74578405d3ba9b01f223b9.tar.gz
src-f8fd3fb51851136d6e74578405d3ba9b01f223b9.zip
Fix the resource_list_print_type() calls to use uintmax_t.
Missed a bunch from r297000.
Notes
Notes: svn path=/head/; revision=297199
Diffstat (limited to 'sys/sparc64/fhc/fhc.c')
-rw-r--r--sys/sparc64/fhc/fhc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sparc64/fhc/fhc.c b/sys/sparc64/fhc/fhc.c
index b9d8bc668721..85aa67dc8cb8 100644
--- a/sys/sparc64/fhc/fhc.c
+++ b/sys/sparc64/fhc/fhc.c
@@ -529,7 +529,7 @@ fhc_print_res(struct fhc_devinfo *fdi)
rv = 0;
rv += resource_list_print_type(&fdi->fdi_rl, "mem", SYS_RES_MEMORY,
- "%#lx");
- rv += resource_list_print_type(&fdi->fdi_rl, "irq", SYS_RES_IRQ, "%ld");
+ "%#jx");
+ rv += resource_list_print_type(&fdi->fdi_rl, "irq", SYS_RES_IRQ, "%jd");
return (rv);
}