pc, pc64: fix cputemp decimal handling in amd10temprd (thanks Robert Ransom)
parent
47c188c0c6
commit
8fa9b7d6ff
|
@ -148,7 +148,7 @@ amd10temprd(Chan*, void *a, long n, vlong offset)
|
||||||
t = i/8;
|
t = i/8;
|
||||||
r = ".0";
|
r = ".0";
|
||||||
if(i % 8 >= 4)
|
if(i % 8 >= 4)
|
||||||
r = "0.5";
|
r = ".5";
|
||||||
/*
|
/*
|
||||||
* only one value per nb; repeat per core
|
* only one value per nb; repeat per core
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue