aboutsummaryrefslogtreecommitdiffstats
path: root/linux/ZramMeter.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/ZramMeter.c')
-rw-r--r--linux/ZramMeter.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/linux/ZramMeter.c b/linux/ZramMeter.c
index 723de0a..e1e27b7 100644
--- a/linux/ZramMeter.c
+++ b/linux/ZramMeter.c
@@ -1,4 +1,6 @@
-#include "ZramMeter.h"
+#include "linux/ZramMeter.h"
+
+#include <stddef.h>
#include "CRT.h"
#include "Meter.h"
@@ -11,7 +13,9 @@ static const int ZramMeter_attributes[] = {
ZRAM
};
-static void ZramMeter_updateValues(Meter* this, char* buffer, size_t size) {
+static void ZramMeter_updateValues(Meter* this) {
+ char* buffer = this->txtBuffer;
+ size_t size = sizeof(this->txtBuffer);
int written;
Platform_setZramValues(this);

© 2014-2024 Faster IT GmbH | imprint | privacy policy