Changeset 5877 for lm-sensors/trunk/prog

Show
Ignore:
Timestamp:
11/03/10 12:59:55 (19 months ago)
Author:
khali
Message:

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".

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/prog/sensors/chips.c

    r5872 r5877  
    5959                                                sensors_strerror(err)); 
    6060                                else 
    61                                         printf("  %s: %.2f\n", sub->name, val); 
     61                                        printf("  %s: %.3f\n", sub->name, val); 
    6262                        } else 
    6363                                printf("(%s)\n", label);