aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Ruigrok van der Werven <asmodai@FreeBSD.org>2002-04-08 21:06:14 +0000
committerJeroen Ruigrok van der Werven <asmodai@FreeBSD.org>2002-04-08 21:06:14 +0000
commit9e74ac9de461efbe0f23a281d73f24b272af2200 (patch)
tree308dfec5077d1f5e25ff2a2191ce70c2279e1ce8
parent9af48ddfd9dc43b396af4b77036bbfd805015b28 (diff)
Notes
-rw-r--r--usr.bin/vmstat/vmstat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c
index 1a15b75ca7e2..cc312c618404 100644
--- a/usr.bin/vmstat/vmstat.c
+++ b/usr.bin/vmstat/vmstat.c
@@ -813,7 +813,8 @@ domem()
}
(void)printf("\nMemory Totals: In Use Free Requests\n");
(void)printf(" %7ldK %6ldK %20llu\n",
- (totuse + 1023) / 1024, (totfree + 1023) / 1024, totreq);
+ (totuse + 1023) / 1024,
+ (totfree + 1023) / 1024, (unsigned long long)totreq);
}
void