netstar pushed a commit to branch master.

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

commit 5fa570c123152b0718e7e341b36efa199afe633a
Author: Alastair Poole <[email protected]>
Date:   Thu Oct 8 13:43:02 2020 +0100

    fbsd: dfly misssed
---
 src/bin/system/machine/cpu.bogox | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/bin/system/machine/cpu.bogox b/src/bin/system/machine/cpu.bogox
index e1e239c..22a2411 100644
--- a/src/bin/system/machine/cpu.bogox
+++ b/src/bin/system/machine/cpu.bogox
@@ -279,7 +279,6 @@ system_cpu_usage_get(int *ncpu)
    return system_cpu_usage_delayed_get(ncpu, 1000000);
 }
 
-
 static char _core_temps[256][512];
 static char _hwmon_path[256];
 
@@ -294,7 +293,7 @@ _cpu_n_temperature_read(int n)
         temp = atoi(b) / 1000;
         free(b);
      }
-#elif defined(__FreeBSD__)
+#elif defined(__FreeBSD__) || defined(__DragonFly__)
     int value;
     size_t len = sizeof(value);
 

-- 


Reply via email to