netstar pushed a commit to branch master.

http://git.enlightenment.org/apps/evisum.git/commit/?id=b481435d3d7075e0b2967f41997db59cd5f5055b

commit b481435d3d7075e0b2967f41997db59cd5f5055b
Author: Alastair Poole <[email protected]>
Date:   Thu Oct 8 13:44:50 2020 +0100

    temps: oops.
---
 src/bin/system/machine/cpu.bogox | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/system/machine/cpu.bogox b/src/bin/system/machine/cpu.bogox
index 22a2411..34950fd 100644
--- a/src/bin/system/machine/cpu.bogox
+++ b/src/bin/system/machine/cpu.bogox
@@ -366,12 +366,12 @@ system_cpu_n_temperature_get(int n)
 
    return _cpu_n_temperature_read(n);
 #elif defined(__FreeBSD__) || defined(__DragonFly__)
-   static int init = 1;
+   static int init = 0;
 
    if (!init)
      {
         memset(&_core_temps, 0, sizeof(_core_temps));
-        init = 0;
+        init = 1;
      }
 
     return _cpu_n_temperature_read(n);

-- 


Reply via email to