Linux: Use sensible sensor name.
This commit is contained in:
parent
8d1d9a7aaf
commit
dfc32faee8
|
@ -712,7 +712,7 @@ system_sensors_thermal_get(int *sensor_count)
|
||||||
sensors[(*sensor_count)++] =
|
sensors[(*sensor_count)++] =
|
||||||
sensor = calloc(1, sizeof(sensor_t));
|
sensor = calloc(1, sizeof(sensor_t));
|
||||||
|
|
||||||
sensor->name = strdup(names[i]->d_name);
|
sensor->name = strdup(type);
|
||||||
snprintf(path, sizeof(path), "/sys/class/thermal/%s/temp",
|
snprintf(path, sizeof(path), "/sys/class/thermal/%s/temp",
|
||||||
names[i]->d_name);
|
names[i]->d_name);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue