From 926e94cd401fb9301a17a4fb758da5fa4c8e28ac Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Wed, 12 Jul 1995 20:09:02 +0000 Subject: [PATCH] Don't attempt to read the variable `total' from the kernel. `total' isn't used in systat or in the kernel (it was replaced by a sysctl() call involving VM_METER) and will go away when I clean up bogus common variables in the kernel. --- usr.bin/systat/vmstat.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c index 2b267894e5a1..f6a89a755735 100644 --- a/usr.bin/systat/vmstat.c +++ b/usr.bin/systat/vmstat.c @@ -133,8 +133,8 @@ static struct nlist namelist[] = { { "_cp_time" }, #define X_CNT 1 { "_cnt" }, -#define X_TOTAL 2 - { "_total" }, +#define X_BUFFERSPACE 2 + { "_bufspace" }, #define X_DK_BUSY 3 { "_dk_busy" }, #define X_DK_TIME 4 @@ -155,8 +155,6 @@ static struct nlist namelist[] = { { "_intrcnt" }, #define X_EINTRCNT 12 { "_eintrcnt" }, -#define X_BUFFERSPACE 13 - { "_bufspace" }, { "" }, };