mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-30 13:00:30 +00:00
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:
1 parent
7dcb173d2a
commit
9cc513005e
1 file changed
+1
-1
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user