pc, pc64: fix cputemp decimal handling in amd10temprd (thanks Robert Ransom)

front
Alex Musolino 2019-12-19 15:19:02 +10:30
parent 47c188c0c6
commit 8fa9b7d6ff
1 changed files with 1 additions and 1 deletions

View File

@ -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
*/