summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2007-02-21 19:34:25 +0000
committerderaadt <deraadt@openbsd.org>2007-02-21 19:34:25 +0000
commitc1f694845fdec360518d8a71bfb819a3985814c4 (patch)
tree7834dac6c933b584d4cfcc33fbaf87edcc6d4b6a
parentDon't use arbitrary 128 bytes as size of the blf key array if we know exactly (diff)
downloadwireguard-openbsd-c1f694845fdec360518d8a71bfb819a3985814c4.tar.xz
wireguard-openbsd-c1f694845fdec360518d8a71bfb819a3985814c4.zip
part missed in PAE revert: ptoa() paddr_t size is no longer printed
with %llu; ok miod
Diffstat (limited to '')
-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);