From 08d85e61435e43ade490ecef16437f93c0d88bed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Sun, 4 Oct 2020 17:55:08 +0200 Subject: Mark Object classes and Object class fields const --- zfs/ZfsArcMeter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zfs') diff --git a/zfs/ZfsArcMeter.c b/zfs/ZfsArcMeter.c index 94bffdc7..d52605c6 100644 --- a/zfs/ZfsArcMeter.c +++ b/zfs/ZfsArcMeter.c @@ -38,7 +38,7 @@ void ZfsArcMeter_readStats(Meter* this, ZfsArcStats* stats) { // "Hide" the last value so it can // only be accessed by index and is not // displayed by the Bar or Graph style - Meter_setItems(this, 5); + this->curItems = 5; this->values[5] = stats->size; } -- cgit v1.2.3