2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 06:15:15 +00:00

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
2004-04-22 18:47:48 +00:00
parent 783c6a0ed6
commit 60d0048763

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");