mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 22:35:23 +00:00
Fix spurious critical temperature alarm.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4892 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -246,8 +246,7 @@ static void print_chip_temp(const sensors_chip_name *name,
|
||||
|
||||
sf = sensors_get_subfeature(name, feature,
|
||||
SENSORS_SUBFEATURE_TEMP_CRIT_ALARM);
|
||||
if (sf && get_value(name, sf->number))
|
||||
alarm |= 1;
|
||||
alarm = sf && get_value(name, sf->number);
|
||||
|
||||
printf("\n%*s", label_size + 10, "");
|
||||
print_temp_limits(limit1, limit2, s1, s2, alarm);
|
||||
|
Reference in New Issue
Block a user