summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-02-21 19:34:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-02-21 19:34:26 +0000
commitf36735fd65b4132226f77e1b7baddc4e9c0dbeec (patch)
tree0c0217addd49846ec1410f1c9a101c6eb579967c /sys
parent2fa0cec173a43a2a9dbd70ddadbfb85f0a695d5a (diff)
part missed in PAE revert: ptoa() paddr_t size is no longer printed
with %llu; ok miod
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/i386/machdep.c6
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);