diff options
| author | Alex Musolino <alex@musolino.id.au> | 2019-12-19 15:19:02 +1030 |
|---|---|---|
| committer | Alex Musolino <alex@musolino.id.au> | 2019-12-19 15:19:02 +1030 |
| commit | 8fa9b7d6ffeb72fdf3dde147693a322ece2af30b (patch) | |
| tree | cf1df492a6f5b7236d9dce630d9833b84098144d | |
| parent | 47c188c0c6c2a013aded790bcaa5c9640955e38b (diff) | |
| download | plan9front-8fa9b7d6ffeb72fdf3dde147693a322ece2af30b.tar.xz | |
pc, pc64: fix cputemp decimal handling in amd10temprd (thanks Robert Ransom)
| -rw-r--r-- | sys/src/9/pc/cputemp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |
