summaryrefslogtreecommitdiff
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)
127 sensor_type = SENSOR_TYPE_OPENBSD; 127 sensor_type = SENSOR_TYPE_OPENBSD;
128 sensor_name = strdup("cpu0"); 128 sensor_name = strdup("cpu0");
129 break; 129 break;
130 } else if (strcmp(snsrdev.xname, "km0") == 0) {
131 sensor_type = SENSOR_TYPE_OPENBSD;
132 sensor_name = strdup("km0");
133 break;
130 } 134 }
131 } 135 }
132#else 136#else