From 81051b4a63e674f87a57d6f13fc7e5a20432394b Mon Sep 17 00:00:00 2001 From: Alastair Poole Date: Sat, 26 Dec 2020 21:15:14 +0000 Subject: [PATCH] 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; }