aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/temperature/tempget.c
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/modules/temperature/tempget.c
parentALPHA5: ZOOOOOOOOMM (diff)
downloadenlightenment-15e862becb4be5f54b0ec42533e8debb928a8a20.tar.gz
e/temperature: Support AMD K10 sensor on OpenBSD
From #1808 Patch by stsp SVN revision: 79574
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