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

fix ALARMS macro in adm1021 section

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1330 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker
2002-02-27 03:32:11 +00:00
parent 55552ad444
commit 8c55242549

View File

@@ -173,7 +173,7 @@ void print_adm1021(const sensors_chip_name *name)
double cur,hyst,over;
int alarms,i,valid;
if (!sensors_get_feature(*name,SENSORS_LM78_ALARMS,&cur))
if (!sensors_get_feature(*name,SENSORS_ADM1021_ALARMS,&cur))
alarms = cur + 0.5;
else {
printf("ERROR: Can't get alarm data!\n");