From 80900626c190a9dbdc0d7f6a483f395192600e41 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Wed, 17 Nov 2004 16:06:51 +0000 Subject: print real/avail/bufcache sizes as unsigned --- sys/arch/hppa/hppa/machdep.c | 10 +++++----- 1 file 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. -- cgit v1.2.3