aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/vmstat/vmstat.c
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>2003-01-11 07:29:47 +0000
committerMatthew Dillon <dillon@FreeBSD.org>2003-01-11 07:29:47 +0000
commitf7550ecf3f7a666137521e2b80016faa72e1b2b2 (patch)
tree47505a9e9b6fcfb7c6793719d09dfa37ab8058f9 /usr.bin/vmstat/vmstat.c
parent42cf585a69bb07dafbe70194862aad91471d78c6 (diff)
Notes
Diffstat (limited to 'usr.bin/vmstat/vmstat.c')
-rw-r--r--usr.bin/vmstat/vmstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c
index 54c51ed09882..c67ca6189dc7 100644
--- a/usr.bin/vmstat/vmstat.c
+++ b/usr.bin/vmstat/vmstat.c
@@ -472,7 +472,7 @@ dovmstat(interval, reps)
kread(X_SUM, &sum, sizeof(sum));
size = sizeof(total);
mib[0] = CTL_VM;
- mib[1] = VM_METER;
+ mib[1] = VM_TOTAL;
if (sysctl(mib, 2, &total, &size, NULL, 0) < 0) {
(void)printf("Can't get kerninfo: %s\n",
strerror(errno));