Author: attilio Date: Tue Oct 26 16:16:15 2010 New Revision: 214380 URL: http://svn.freebsd.org/changeset/base/214380
Log: Remove usage of PRI* macro for style compliancy. Requested by: bde, jhb Sponsored by: Sandvine Incorporated Modified: head/sys/x86/x86/dump_machdep.c Modified: head/sys/x86/x86/dump_machdep.c ============================================================================== --- head/sys/x86/x86/dump_machdep.c Tue Oct 26 16:04:23 2010 (r214379) +++ head/sys/x86/x86/dump_machdep.c Tue Oct 26 16:16:15 2010 (r214380) @@ -36,7 +36,6 @@ __FBSDID("$FreeBSD$"); #include <sys/kerneldump.h> #include <vm/vm.h> #include <vm/pmap.h> -#include <machine/_inttypes.h> #include <machine/elf.h> #include <machine/md_var.h> @@ -177,8 +176,8 @@ cb_dumpdata(struct md_pa *mdp, int seqnr if (maxdumppgs == 0) /* seatbelt */ maxdumppgs = 1; - printf(" chunk %d: %"PRIu64"MB (%"PRIu64" pages)", seqnr, PG2MB(pgs), - pgs); + printf(" chunk %d: %jdMB (%jd pages)", seqnr, (uintmax_t)PG2MB(pgs), + (uintmax_t)pgs); while (pgs) { chunk = pgs; @@ -187,7 +186,7 @@ cb_dumpdata(struct md_pa *mdp, int seqnr sz = chunk << PAGE_SHIFT; counter += sz; if (counter >> 24) { - printf(" %"PRIu64, PG2MB(pgs)); + printf(" %jd", (uintmax_t)PG2MB(pgs)); counter &= (1<<24) - 1; } for (i = 0; i < chunk; i++) { _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"