Fix lm80 displaying HOT alarm instead of OS alarm. Caught by

Shawn Starr.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2466 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2004-04-22 18:47:48 +00:00
1 parent 783c6a0ed6
commit 60d0048763
1 file changed
+1 -1
+1 -1
View File
@@ -1408,7 +1408,7 @@ void print_lm80(const sensors_chip_name *name)
print_label("",10);
printf(" (os: limit = %+3.0f%s, hyst = %+3.0f%s) %s\n",
max2, degstr, min2, degstr,
alarms&LM80_ALARM_TEMP_HOT?"ALARM":"");
alarms&LM80_ALARM_TEMP_OS?"ALARM":"");
}
} else
printf("ERROR: Can't get TEMP data!\n");