summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-01-02 17:27:30 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-01-02 17:27:30 +0000
commit8fcad16bc55fb09a27be5018e621391fa32ffd38 (patch)
tree61278d8c42096a8d3507ff8bb1dbf1a9917cef4b /usr.bin
parentb78a6195a6a416629fcccaadbdd937a953be87ec (diff)
A bit more space to accomodate u_long for kb_calls (Requests column)
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/vmstat/vmstat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c
index 7a8848cbde5..547c049f355 100644
--- a/usr.bin/vmstat/vmstat.c
+++ b/usr.bin/vmstat/vmstat.c
@@ -1,5 +1,5 @@
/* $NetBSD: vmstat.c,v 1.29.4.1 1996/06/05 00:21:05 cgd Exp $ */
-/* $OpenBSD: vmstat.c,v 1.39 2000/11/26 02:30:30 art Exp $ */
+/* $OpenBSD: vmstat.c,v 1.40 2001/01/02 17:27:29 angelos Exp $ */
/*
* Copyright (c) 1980, 1986, 1991, 1993
@@ -846,11 +846,11 @@ domem()
if (first) {
(void)printf("Memory statistics by bucket size\n");
(void)printf(
- " Size In Use Free Requests HighWater Couldfree\n");
+ " Size In Use Free Requests HighWater Couldfree\n");
first = 0;
}
size = 1 << i;
- (void)printf("%8d %8ld %6ld %10ld %7ld %10ld\n", size,
+ (void)printf("%8d %8ld %6ld %12lu %7ld %10ld\n", size,
kp->kb_total - kp->kb_totalfree,
kp->kb_totalfree, kp->kb_calls,
kp->kb_highwat, kp->kb_couldfree);