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.
This commit is contained in:
parent
21cd3ca755
commit
48a6a596b9
@ -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" },
|
||||
{ "" },
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user