summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-11-17 16:06:51 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-11-17 16:06:51 +0000
commit80900626c190a9dbdc0d7f6a483f395192600e41 (patch)
tree134b3d0be870307e2044aa8e1a617641d005659b /sys/arch/hppa
parent3b1ad968dc08f468bec5a6e6f2a75aaf97b33e96 (diff)
print real/avail/bufcache sizes as unsigned
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/hppa/machdep.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/hppa/hppa/machdep.c b/sys/arch/hppa/hppa/machdep.c
index 53982b67cf0..9e002721f6a 100644
--- a/sys/arch/hppa/hppa/machdep.c
+++ b/sys/arch/hppa/hppa/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.139 2004/10/26 20:18:01 mickey Exp $ */
+/* $OpenBSD: machdep.c,v 1.140 2004/11/17 16:06:50 mickey Exp $ */
/*
* Copyright (c) 1999-2003 Michael Shalayeff
@@ -646,7 +646,7 @@ cpu_startup(void)
printf(version);
printf("%s\n", cpu_model);
- printf("real mem = %d (%d reserved for PROM, %d used by OpenBSD)\n",
+ printf("real mem = %u (%u reserved for PROM, %u used by OpenBSD)\n",
ctob(physmem), ctob(resvmem), ctob(resvphysmem - resvmem));
size = MAXBSIZE * nbuf;
@@ -695,9 +695,9 @@ cpu_startup(void)
phys_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
VM_PHYS_SIZE, 0, FALSE, NULL);
- printf("avail mem = %ld\n", ptoa(uvmexp.free));
- printf("using %d buffers containing %d bytes of memory\n",
- nbuf, bufpages * PAGE_SIZE);
+ printf("avail mem = %lu\n", ptoa(uvmexp.free));
+ printf("using %d buffers containing %u bytes of memory\n",
+ nbuf, (unsigned)bufpages * PAGE_SIZE);
/*
* Set up buffers, so they can be used to read disk labels.