summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorangelos <angelos@openbsd.org>2001-01-02 17:27:29 +0000
committerangelos <angelos@openbsd.org>2001-01-02 17:27:29 +0000
commit7f38bd5257438a068337f7698d4b95a2860b62f4 (patch)
treec8cb1b7fad09a783df7572af6e2477bad97325fd
parentMake kb_calls u_long (art@ ok) (diff)
downloadwireguard-openbsd-7f38bd5257438a068337f7698d4b95a2860b62f4.tar.xz
wireguard-openbsd-7f38bd5257438a068337f7698d4b95a2860b62f4.zip
A bit more space to accomodate u_long for kb_calls (Requests column)
-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);