This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository enlightenment.
View the commit online.
commit 7c48137f8199f2374f63f5c198c4914ed11b07d4
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Wed Jan 8 12:39:34 2025 +0000
cpufreq - fix usage counter reading for bsd
---
src/modules/cpufreq/cpf_cpu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/modules/cpufreq/cpf_cpu.c b/src/modules/cpufreq/cpf_cpu.c
index fbe811df8..3d790ef65 100644
--- a/src/modules/cpufreq/cpf_cpu.c
+++ b/src/modules/cpufreq/cpf_cpu.c
@@ -290,7 +290,7 @@ cpu_perf_update(Cpu_Perf *cp)
}
while (cpu < (cp->cores - 1))
{
- long long *times = (long long *)(buf2 + (cpu * 5 * sizeof(long long)));
+ long long *times = (long long *)(buf2 + (cpu * 5));
if (((cpu + 1) * 5 * sizeof(long long)) > len) break;
c = &(cp->cur.counters[cpu + 1]);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.