-comment abituguru entry in lib/chips.c and prog/sensors/main.c, as the

abituguru seems to work well with the new dynamic chip support and generic
 chip printroutines. note: the abituguru code should be completly removed in
 the future.
-comment k8temp entry in lib/chips.c and prog/sensors/main.c, as the
 k8temp seems to work well with the new dynamic chip support and generic
 chip printroutines. note: the k8temp code should be completly removed in
 the future.
-make the match for the subtype exact instead of a strncmp, otherwise
 an alarm_enable flag gets classified as an alarm, leading to all sensors who
 have their alarm enabled getting an alarm reported, as the alarm_enabled gets
 read as alarm.
-and do the same for the _input match to check if this is a main or subfeature


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4367 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Hans de Goede committed 2007-04-09 18:07:07 +00:00
1 parent ba5140b3d8
commit 16408d8665
4 files changed
+6 -7

No files matched your search

+1 -1
View File
@@ -598,7 +598,7 @@ sensors_feature_type sensors_feature_get_type(
submatches = matches[i].submatches;
for(i = 0; submatches[i].name != 0; i++)
if (!strncmp(name + pmatch[3].rm_so, submatches[i].name, size_second))
if (!strcmp(name + pmatch[3].rm_so, submatches[i].name))
return submatches[i].type;
return SENSORS_FEATURE_UNKNOWN;