netstar pushed a commit to branch master.

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

commit 81051b4a63e674f87a57d6f13fc7e5a20432394b
Author: Alastair Poole <nets...@gmail.com>
Date:   Sat Dec 26 21:15:14 2020 +0000

    sensors: fix fbsd sysctl name
---
 src/bin/system/machine/sensors.bogox | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/system/machine/sensors.bogox 
b/src/bin/system/machine/sensors.bogox
index aa43505..e521ee7 100644
--- a/src/bin/system/machine/sensors.bogox
+++ b/src/bin/system/machine/sensors.bogox
@@ -130,7 +130,7 @@ system_sensors_thermal_get(int *sensor_count)
         void *tmp = realloc(sensors, (1 + *sensor_count) * sizeof(sensor_t *));
         sensors = tmp;
         sensors[(*sensor_count)++] = sensor = calloc(1, sizeof(sensor_t));
-        sensor->name = strdup("hw.acpi.thermal.tz0");
+        sensor->name = strdup("hw.acpi.thermal.tz0.temperature");
         sensor->value = (float) (value -  2732) / 10;
      }
 

-- 


Reply via email to