summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2012-11-23 19:59:17 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2012-11-23 19:59:17 +0000
commit15e862becb4be5f54b0ec42533e8debb928a8a20 (patch)
treec458598ac57058276497cdd6d38c8334d42597ee /src
parent4419d8a739af7280be3e885ac3f24f5c3bb31d1c (diff)
e/temperature: Support AMD K10 sensor on OpenBSD
From #1808 Patch by stsp SVN revision: 79574
Diffstat (limited to 'src')
-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