parent
9a0a18b1f1
commit
860518d379
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue