diff options
Diffstat (limited to 'sys/mips/mips/machdep.c')
-rw-r--r-- | sys/mips/mips/machdep.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/mips/mips/machdep.c b/sys/mips/mips/machdep.c index 0b4468c..93b803b 100644 --- a/sys/mips/mips/machdep.c +++ b/sys/mips/mips/machdep.c @@ -205,8 +205,9 @@ cpu_startup(void *dummy) vm_ksubmap_init(&kmi); - printf("avail memory = %lu (%luMB)\n", ptoa(cnt.v_free_count), - ptoa(cnt.v_free_count) / 1048576); + printf("avail memory = %ju (%juMB)\n", + ptoa((uintmax_t)cnt.v_free_count), + ptoa((uintmax_t)cnt.v_free_count) / 1048576); cpu_init_interrupts(); /* |