From e6e243677482bfe97cd5b658b9ba93de1baeff8a Mon Sep 17 00:00:00 2001 From: Peter Grehan Date: Mon, 12 Jul 2010 21:09:55 +0000 Subject: [PATCH] Fix printf specifier to allow 32/64 bit builds. Obtained from: projects/ppc64 --- sys/powerpc/powermac/grackle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/powerpc/powermac/grackle.c b/sys/powerpc/powermac/grackle.c index 381ff12c68d8..a7ba6cbe995a 100644 --- a/sys/powerpc/powermac/grackle.c +++ b/sys/powerpc/powermac/grackle.c @@ -472,7 +472,7 @@ grackle_activate_resource(device_t bus, device_t child, int type, int rid, start += sc->sc_iostart; if (bootverbose) - printf("grackle mapdev: start %x, len %ld\n", start, + printf("grackle mapdev: start %zx, len %ld\n", start, rman_get_size(res)); p = pmap_mapdev(start, (vm_size_t)rman_get_size(res));