summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authorjhibbits <jhibbits@FreeBSD.org>2016-01-26 03:52:14 +0000
committerjhibbits <jhibbits@FreeBSD.org>2016-01-26 03:52:14 +0000
commitbe339e6139e416e9be5acfe81073c53223c51040 (patch)
tree821078986da2946879e7b708f714268fbda30497 /sys/powerpc
parentf312648b18b86b520e848fd1e1775c952ec313eb (diff)
downloadFreeBSD-src-be339e6139e416e9be5acfe81073c53223c51040.zip
FreeBSD-src-be339e6139e416e9be5acfe81073c53223c51040.tar.gz
Fix a debug printf().
Somehow this printf() was missed in the conversion of vm_paddr_t to 64-bit, and made it through until now. Sponsored by: Alex Perez/Inertial Computing
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/booke/pmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/powerpc/booke/pmap.c b/sys/powerpc/booke/pmap.c
index a5de4d6..550654e 100644
--- a/sys/powerpc/booke/pmap.c
+++ b/sys/powerpc/booke/pmap.c
@@ -1305,8 +1305,8 @@ mmu_booke_bootstrap(mmu_t mmu, vm_offset_t start, vm_offset_t kernelend)
debugf("Maxmem = 0x%08lx\n", Maxmem);
debugf("phys_avail_count = %d\n", phys_avail_count);
- debugf("physsz = 0x%08x physmem = %ld (0x%08lx)\n", physsz, physmem,
- physmem);
+ debugf("physsz = 0x%09jx physmem = %jd (0x%09jx)\n",
+ (uintmax_t)physsz, (uintmax_t)physmem, (uintmax_t)physmem);
/*******************************************************/
/* Initialize (statically allocated) kernel pmap. */
OpenPOWER on IntegriCloud