aboutsummaryrefslogtreecommitdiff
path: root/sys/x86
diff options
context:
space:
mode:
authorAttilio Rao <attilio@FreeBSD.org>2010-10-26 16:16:15 +0000
committerAttilio Rao <attilio@FreeBSD.org>2010-10-26 16:16:15 +0000
commit61ba91df0d989425a31016e4d80b4d6b72e048e1 (patch)
treedcd3ef374b9268d61f965ffe8736a00972913e7e /sys/x86
parente25376bdd07aa6cbb2304773be3efa0d301ac241 (diff)
downloadsrc-61ba91df0d989425a31016e4d80b4d6b72e048e1.tar.gz
src-61ba91df0d989425a31016e4d80b4d6b72e048e1.zip
Remove usage of PRI* macro for style compliancy.
Requested by: bde, jhb Sponsored by: Sandvine Incorporated
Notes
Notes: svn path=/head/; revision=214380
Diffstat (limited to 'sys/x86')
-rw-r--r--sys/x86/x86/dump_machdep.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/x86/x86/dump_machdep.c b/sys/x86/x86/dump_machdep.c
index 37b6e4984a14..f2d12ddbc4c5 100644
--- a/sys/x86/x86/dump_machdep.c
+++ b/sys/x86/x86/dump_machdep.c
@@ -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, void *arg)
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, void *arg)
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++) {