Revert bogus assumption that magnitude of sysfs files can only be

0 or 3.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2421 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2004-04-07 18:03:14 +00:00
1 parent 1a7c4d2eed
commit 478a83d656
1 file changed
+1 -1
+1 -1
View File
@@ -607,6 +607,6 @@ int getsysname(const sensors_chip_feature *feature, char *sysname, int *sysmag)
"alarms", "beep_enable", "vrm", "fan%d_div"
*/
strcpy(sysname, name);
*sysmag = (feature->scaling==0?0:3);
*sysmag = feature->scaling;
return 0;
}