aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/temperature/tempget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/temperature/tempget.c')
-rw-r--r--src/modules/temperature/tempget.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/temperature/tempget.c b/src/modules/temperature/tempget.c
index ffbfb7fa3..7a9d00c21 100644
--- a/src/modules/temperature/tempget.c
+++ b/src/modules/temperature/tempget.c
@@ -127,6 +127,10 @@ init(void)
sensor_type = SENSOR_TYPE_OPENBSD;
sensor_name = strdup("cpu0");
break;
+ } else if (strcmp(snsrdev.xname, "km0") == 0) {
+ sensor_type = SENSOR_TYPE_OPENBSD;
+ sensor_name = strdup("km0");
+ break;
}
}
#else