From c55aa7292df20bd76969c58915352aedc12e6300 Mon Sep 17 00:00:00 2001 From: jhibbits Date: Tue, 22 Mar 2016 22:25:08 +0000 Subject: Fix the resource_list_print_type() calls to use uintmax_t. Missed a bunch from r297000. --- sys/powerpc/psim/iobus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/powerpc/psim') diff --git a/sys/powerpc/psim/iobus.c b/sys/powerpc/psim/iobus.c index 741b62a..ce4a93a 100644 --- a/sys/powerpc/psim/iobus.c +++ b/sys/powerpc/psim/iobus.c @@ -253,7 +253,7 @@ iobus_print_child(device_t dev, device_t child) retval += bus_print_child_header(dev, child); retval += printf(" offset 0x%x", dinfo->id_reg[1]); - retval += resource_list_print_type(rl, "irq", SYS_RES_IRQ, "%ld"); + retval += resource_list_print_type(rl, "irq", SYS_RES_IRQ, "%jd"); retval += bus_print_child_footer(dev, child); -- cgit v1.1