From 382c9ef92cf0830f5639906ffd5f363ecefd670a Mon Sep 17 00:00:00 2001 From: mischief Date: Wed, 13 Jun 2018 11:59:14 +0000 Subject: stats: read cputemp as C, set scale max to 100 C --- sys/src/cmd/stats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/src/cmd/stats.c') 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 -- cgit v1.2.3