netstar pushed a commit to branch master.

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

commit 860518d3796b29016947c849641837b8d31ed161
Author: Alastair Poole <nets...@gmail.com>
Date:   Mon Feb 8 23:31:22 2021 +0000

    sensors: Trim the child name.
    
    Missed that :)
---
 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 3c35192..eff3a98 100644
--- a/src/bin/system/machine/sensors.bogox
+++ b/src/bin/system/machine/sensors.bogox
@@ -208,7 +208,7 @@ system_sensors_thermal_get(int *sensor_count)
                   snprintf(buf, sizeof(buf), "%s/temp%d_label", link, id);
                   sensor->child_name = file_contents(buf);
                   if (sensor->child_name)
-                    strimmer(sensor->name);
+                    strimmer(sensor->child_name);
 
                   snprintf(buf, sizeof(buf), "%s/temp%d_input", link, id);
                   sensor->path = strdup(buf);

-- 


Reply via email to