netbsd: Fix display of in-use and cached memory

This commit is contained in:
nia
2021-07-13 18:49:35 +02:00
committed by BenBE
parent 67ca214cbe
commit 4865e643ad
2 changed files with 3 additions and 9 deletions

View File

@ -236,7 +236,6 @@ void Platform_setMemoryValues(Meter* this) {
long int usedMem = pl->usedMem;
long int buffersMem = pl->buffersMem;
long int cachedMem = pl->cachedMem;
usedMem -= buffersMem + cachedMem;
this->total = pl->totalMem;
this->values[0] = usedMem;
this->values[1] = buffersMem;