From e7869656469cb22f54c19a568b3f9f93bd872f45 Mon Sep 17 00:00:00 2001 From: neel Date: Fri, 6 Aug 2010 05:24:41 +0000 Subject: uint64_t is 'unsigned long' in n64 build, so compiler is unhappy if the format specifier in printf is "%llu". Use "%ju" instead. --- sys/mips/sibyte/sb_machdep.c | 6 +++--- 1 file 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))); -- cgit v1.1