diff options
Diffstat (limited to 'sys/arch/i386/i386/machdep.c')
-rw-r--r-- | sys/arch/i386/i386/machdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c index 74af9afb577..9a144fb849e 100644 --- a/sys/arch/i386/i386/machdep.c +++ b/sys/arch/i386/i386/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.378 2007/02/20 21:15:01 tom Exp $ */ +/* $OpenBSD: machdep.c,v 1.379 2007/02/21 19:34:25 deraadt Exp $ */ /* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */ /*- @@ -423,7 +423,7 @@ cpu_startup() curcpu()->ci_feature_flags = cpu_feature; identifycpu(curcpu()); - printf("real mem = %llu (%uK)\n", ctob((paddr_t)physmem), + printf("real mem = %lu (%uK)\n", ctob((paddr_t)physmem), ctob((paddr_t)physmem)/1024U); /* @@ -455,7 +455,7 @@ cpu_startup() phys_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr, VM_PHYS_SIZE, 0, FALSE, NULL); - printf("avail mem = %llu (%uK)\n", ptoa((paddr_t)uvmexp.free), + printf("avail mem = %lu (%uK)\n", ptoa((paddr_t)uvmexp.free), ptoa((paddr_t)uvmexp.free) / 1024U); printf("using %d buffers containing %u bytes (%uK) of memory\n", nbuf, bufpages * PAGE_SIZE, bufpages * PAGE_SIZE / 1024); |