summaryrefslogtreecommitdiffstats
path: root/openbsd
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd')
-rw-r--r--openbsd/Platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd/Platform.c b/openbsd/Platform.c
index 267da703..b41900b0 100644
--- a/openbsd/Platform.c
+++ b/openbsd/Platform.c
@@ -229,9 +229,9 @@ void Platform_setMemoryValues(Meter* this) {
usedMem -= buffersMem + cachedMem;
this->total = host->totalMem;
this->values[MEMORY_METER_USED] = usedMem;
- this->values[MEMORY_METER_BUFFERS] = buffersMem;
// this->values[MEMORY_METER_SHARED] = "shared memory, like tmpfs and shm"
// this->values[MEMORY_METER_COMPRESSED] = "compressed memory, like zswap on linux"
+ this->values[MEMORY_METER_BUFFERS] = buffersMem;
this->values[MEMORY_METER_CACHE] = cachedMem;
// this->values[MEMORY_METER_AVAILABLE] = "available memory"
}