aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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