diff options
author | mischief <mischief@offblast.org> | 2018-06-13 11:59:14 +0000 |
---|---|---|
committer | mischief <mischief@offblast.org> | 2018-06-13 11:59:14 +0000 |
commit | 382c9ef92cf0830f5639906ffd5f363ecefd670a (patch) | |
tree | 486bbc9ccb360cee6d5ef67e7100ae5adc2a9734 /sys/src/cmd/stats.c | |
parent | 9fbce3b1b4fba5b302aff49b6b769ecdcae59faa (diff) |
stats: read cputemp as C, set scale max to 100 C
Diffstat (limited to 'sys/src/cmd/stats.c')
-rw-r--r-- | sys/src/cmd/stats.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/cmd/stats.c b/sys/src/cmd/stats.c index dfb71a1cd..8a9f926a6 100644 --- a/sys/src/cmd/stats.c +++ b/sys/src/cmd/stats.c @@ -947,12 +947,12 @@ tempval(Machine *m, uvlong *v, uvlong *vmax, int) { ulong l; - *vmax = sleeptime; + *vmax = 100; l = m->temp[0]; if(l == ~0 || l == 0) *v = 0; else - *v = (l-20)*27; + *v = l; } void |