Fix 2.6 temp_statusX wrong magnitude.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2265 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2004-02-03 17:46:03 +00:00
1 parent 7dcb173d2a
commit 9cc513005e
1 file changed
+1 -1
+1 -1
View File
@@ -599,7 +599,7 @@ int getsysname(const sensors_chip_feature *feature, char *sysname, int *sysmag)
}
if(sscanf(name, "temp%d_stat%c%c", &num, &last, &check) == 2 && last == 'e') {
sprintf(sysname, "temp_status%d", num);
*sysmag = TEMPMAG;
*sysmag = 0;
return 0;
}
if(sscanf(name, "tcrit%d%c", &num, &check) == 1) {