From 27a40250d548ca89474ec74b44232e1d840f84b3 Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Wed, 8 Mar 2000 02:23:30 +0000 Subject: [PATCH] (mds) Change via686a temp prints from %3.0f to %3.1f (0.1 C precision) git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@760 7894878c-1315-0410-8ee3-d5d059ff63e0 --- prog/sensors/chips.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/prog/sensors/chips.c b/prog/sensors/chips.c index feb00172..0f222744 100644 --- a/prog/sensors/chips.c +++ b/prog/sensors/chips.c @@ -529,7 +529,7 @@ void print_via686a(const sensors_chip_name *name) !sensors_get_feature(*name,SENSORS_VIA686A_TEMP_OVER,&max)) { if (valid) { print_label(label,10); - printf("%+3.0f C (limit = %+3.0f C, hysteresis = %+3.0f C) %s\n", + printf("%+3.1f C (limit = %+3.0f C, hysteresis = %+3.0f C) %s\n", cur,max,min, alarms&VIA686A_ALARM_TEMP?"ALARM":""); } } else @@ -541,7 +541,7 @@ void print_via686a(const sensors_chip_name *name) !sensors_get_feature(*name,SENSORS_VIA686A_TEMP2_OVER,&max)) { if (valid) { print_label(label,10); - printf("%+3.0f C (limit = %+3.0f C, hysteresis = %+3.0f C) %s\n", + printf("%+3.1f C (limit = %+3.0f C, hysteresis = %+3.0f C) %s\n", cur,max,min, alarms&VIA686A_ALARM_TEMP2?"ALARM":""); } } else @@ -553,7 +553,7 @@ void print_via686a(const sensors_chip_name *name) !sensors_get_feature(*name,SENSORS_VIA686A_TEMP3_OVER,&max)) { if (valid) { print_label(label,10); - printf("%+3.0f C (limit = %+3.0f C, hysteresis = %+3.0f C) %s\n", + printf("%+3.1f C (limit = %+3.0f C, hysteresis = %+3.0f C) %s\n", cur,max,min, alarms&VIA686A_ALARM_TEMP3?"ALARM":""); } } else