netstar pushed a commit to branch master. http://git.enlightenment.org/apps/evisum.git/commit/?id=1f2536f6bb8308c91d20d4282e3ab32020ccf591
commit 1f2536f6bb8308c91d20d4282e3ab32020ccf591 Author: Alastair Poole <nets...@gmail.com> Date: Mon May 17 19:13:35 2021 +0100 wip: build fbsd --- src/bin/next/machine/cpu.x | 4 ++-- src/bin/next/machine/sensors.x | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/next/machine/cpu.x b/src/bin/next/machine/cpu.x index 2225098..a500722 100644 --- a/src/bin/next/machine/cpu.x +++ b/src/bin/next/machine/cpu.x @@ -401,7 +401,7 @@ core_id_temperature(int id) init = 1; } - return _core_n_temperature_read(n); + return _core_n_temperature_read(id); #endif return -1; } @@ -441,7 +441,7 @@ core_id_frequency(int id) return freq; #elif defined(__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__) - return core_frequency(); + return cores_frequency(); #endif return -1; diff --git a/src/bin/next/machine/sensors.x b/src/bin/next/machine/sensors.x index 22df561..b142d1a 100644 --- a/src/bin/next/machine/sensors.x +++ b/src/bin/next/machine/sensors.x @@ -130,7 +130,7 @@ sensors_find(void) } } - int n = system_cpu_count_get(); + int n = cores_count(); for (int i = 0; i < n; i++) { --