From 8fa9b7d6ffeb72fdf3dde147693a322ece2af30b Mon Sep 17 00:00:00 2001 From: Alex Musolino Date: Thu, 19 Dec 2019 15:19:02 +1030 Subject: pc, pc64: fix cputemp decimal handling in amd10temprd (thanks Robert Ransom) --- sys/src/9/pc/cputemp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/src/9/pc/cputemp.c b/sys/src/9/pc/cputemp.c index a7a1dcf68..944c4a774 100644 --- a/sys/src/9/pc/cputemp.c +++ b/sys/src/9/pc/cputemp.c @@ -148,7 +148,7 @@ amd10temprd(Chan*, void *a, long n, vlong offset) t = i/8; r = ".0"; if(i % 8 >= 4) - r = "0.5"; + r = ".5"; /* * only one value per nb; repeat per core */ -- cgit v1.2.3