From f36735fd65b4132226f77e1b7baddc4e9c0dbeec Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 21 Feb 2007 19:34:26 +0000 Subject: part missed in PAE revert: ptoa() paddr_t size is no longer printed with %llu; ok miod --- sys/arch/i386/i386/machdep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arch/i386') 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); -- cgit v1.2.3