From 060aa2b20f88a7dbc1a8b77724df612d3b6fd9ea Mon Sep 17 00:00:00 2001 From: kremlin Date: Thu, 26 Jul 2018 04:17:06 -0500 Subject: [PATCH] remove wrongfix --- openbsd/Platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.; }