diff options
author | jhibbits <jhibbits@FreeBSD.org> | 2016-01-26 03:52:14 +0000 |
---|---|---|
committer | jhibbits <jhibbits@FreeBSD.org> | 2016-01-26 03:52:14 +0000 |
commit | be339e6139e416e9be5acfe81073c53223c51040 (patch) | |
tree | 821078986da2946879e7b708f714268fbda30497 | |
parent | f312648b18b86b520e848fd1e1775c952ec313eb (diff) | |
download | FreeBSD-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
-rw-r--r-- | sys/powerpc/booke/pmap.c | 4 |
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. */ |