summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2005-11-12 00:23:43 +0000
committerdrahn <drahn@openbsd.org>2005-11-12 00:23:43 +0000
commit01c93c3066652f1b29666c1ef404e9d71b02ad9a (patch)
tree7bcd7d4dfbd49a99369916b929fc0417ab69a5cd
parentdo not print boot_file, noone cares (diff)
downloadwireguard-openbsd-01c93c3066652f1b29666c1ef404e9d71b02ad9a.tar.xz
wireguard-openbsd-01c93c3066652f1b29666c1ef404e9d71b02ad9a.zip
print memory the same way as it is done on i386/amd64.
-rw-r--r--sys/arch/macppc/macppc/machdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/macppc/macppc/machdep.c b/sys/arch/macppc/macppc/machdep.c
index 589fc638f40..f3ca919a27e 100644
--- a/sys/arch/macppc/macppc/machdep.c
+++ b/sys/arch/macppc/macppc/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.81 2005/10/30 22:29:02 kettenis Exp $ */
+/* $OpenBSD: machdep.c,v 1.82 2005/11/12 00:23:43 drahn Exp $ */
/* $NetBSD: machdep.c,v 1.4 1996/10/16 19:33:11 ws Exp $ */
/*
@@ -567,8 +567,8 @@ cpu_startup()
printf("avail mem = %ld (%ldK)\n", ptoa(uvmexp.free),
ptoa(uvmexp.free) / 1024);
- printf("using %d buffers containing %d bytes of memory\n", nbuf,
- bufpages * PAGE_SIZE);
+ printf("using %u buffers containing %u bytes (%uK) of memory\n",
+ nbuf, bufpages * PAGE_SIZE, bufpages * PAGE_SIZE / 1024);
/*
* Set up the buffers.