summaryrefslogtreecommitdiffstats
path: root/openbsd
diff options
context:
space:
mode:
authorkremlin <ian@kremlin.cc>2018-07-26 04:17:06 -0500
committerkremlin <ian@kremlin.cc>2018-07-26 04:17:06 -0500
commit060aa2b20f88a7dbc1a8b77724df612d3b6fd9ea (patch)
treec259763e069e1b6fa4ca3dfa899563eb511a1f4d /openbsd
parentc005ffc3d70c14189952fa1041bab04462417308 (diff)
remove wrongfix
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 a3648f4e..cda424b6 100644
--- a/openbsd/Platform.c
+++ b/openbsd/Platform.c
@@ -220,7 +220,7 @@ double Platform_setCPUValues(Meter* this, int cpu) {
percentages(CPUSTATES, diff_v, new_v,
(int64_t *)old_v[cpu-1], scratch_v);
- for (i = 0; i < CPUSTATES - 1; i++) {
+ for (i = 0; i < CPUSTATES; i++) {
old_v[cpu-1][i] = new_v[i];
v[i] = diff_v[i] / 10.;
}

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