summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2010-08-06 05:24:41 +0000
committerneel <neel@FreeBSD.org>2010-08-06 05:24:41 +0000
commite7869656469cb22f54c19a568b3f9f93bd872f45 (patch)
tree36717a2aa61c244af4d67012ec22df35ad297634
parent7a5a021203d09ad6769a90f1b322fa308e808a94 (diff)
downloadFreeBSD-src-e7869656469cb22f54c19a568b3f9f93bd872f45.zip
FreeBSD-src-e7869656469cb22f54c19a568b3f9f93bd872f45.tar.gz
uint64_t is 'unsigned long' in n64 build, so compiler is unhappy if the
format specifier in printf is "%llu". Use "%ju" instead.
-rw-r--r--sys/mips/sibyte/sb_machdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/mips/sibyte/sb_machdep.c b/sys/mips/sibyte/sb_machdep.c
index 9e83426..45f39e8 100644
--- a/sys/mips/sibyte/sb_machdep.c
+++ b/sys/mips/sibyte/sb_machdep.c
@@ -189,11 +189,11 @@ mips_init(void)
("CFE DRAM region is not available?"));
if (bootverbose)
- printf("cfe_enummem: 0x%016jx/%llu.\n", addr, len);
+ printf("cfe_enummem: 0x%016jx/%ju.\n", addr, len);
if (maxmem != 0) {
if (addr >= maxmem) {
- printf("Ignoring %llu bytes of memory at 0x%jx "
+ printf("Ignoring %ju bytes of memory at 0x%jx "
"that is above maxmem %dMB\n",
len, addr,
(int)(maxmem / (1024 * 1024)));
@@ -201,7 +201,7 @@ mips_init(void)
}
if (addr + len > maxmem) {
- printf("Ignoring %llu bytes of memory "
+ printf("Ignoring %ju bytes of memory "
"that is above maxmem %dMB\n",
(addr + len) - maxmem,
(int)(maxmem / (1024 * 1024)));
OpenPOWER on IntegriCloud