From: Robert Ransom <rransom.8774@gmail.com>
To: 9front <9front@9front.org>
Subject: Typo in cputemp
Date: Wed, 18 Dec 2019 17:40:55 -0500 [thread overview]
Message-ID: <CABqy+sqFp_kt5wd9Q=QAE8iiFo23iiEn0b8RWhKCjDavT4Xq9g@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 109 bytes --]
I didn't check the spec, but my processor did not go from 400.5 to
40.0 in seconds on any temperature scale.
[-- Attachment #2: 2019-12-18-01-9front-cputemp.patch --]
[-- Type: text/x-patch, Size: 269 bytes --]
diff --git a/sys/src/9/pc/cputemp.c b/sys/src/9/pc/cputemp.c
--- a/sys/src/9/pc/cputemp.c
+++ b/sys/src/9/pc/cputemp.c
@@ -148,7 +148,7 @@
t = i/8;
r = ".0";
if(i % 8 >= 4)
- r = "0.5";
+ r = ".5";
/*
* only one value per nb; repeat per core
*/
next reply other threads:[~2019-12-18 22:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-18 22:40 Robert Ransom [this message]
2019-12-19 4:50 ` [9front] " Alex Musolino
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CABqy+sqFp_kt5wd9Q=QAE8iiFo23iiEn0b8RWhKCjDavT4Xq9g@mail.gmail.com' \
--to=rransom.8774@gmail.com \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).