mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 14:25:39 +00:00
sensors: Display 3 decimal places in raw output.
This will make it easier for us to help users find out correct scaling factors when needed. Instead of telling them to go read the raw sysfs attributes, they can just report the output of "sensors -u -c /dev/null". git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5877 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -58,7 +58,7 @@ void print_chip_raw(const sensors_chip_name *name)
|
||||
sub->name,
|
||||
sensors_strerror(err));
|
||||
else
|
||||
printf(" %s: %.2f\n", sub->name, val);
|
||||
printf(" %s: %.3f\n", sub->name, val);
|
||||
} else
|
||||
printf("(%s)\n", label);
|
||||
}
|
||||
|
Reference in New Issue
Block a user