summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-07-12 20:09:02 +0000
committerbde <bde@FreeBSD.org>1995-07-12 20:09:02 +0000
commit7228eed75580cf66a88246575baf780b4d84c134 (patch)
treedb8d1236669ce48c664764e6f2f5c8a620a71a4e /usr.bin
parentd7ba7784050dd82d2cb91129695330fa4cc35fb3 (diff)
downloadFreeBSD-src-7228eed75580cf66a88246575baf780b4d84c134.zip
FreeBSD-src-7228eed75580cf66a88246575baf780b4d84c134.tar.gz
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.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/systat/vmstat.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c
index 2b26789..f6a89a7 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" },
{ "" },
};
OpenPOWER on IntegriCloud