9front - general discussion about 9front
 help / color / mirror / Atom feed
* Typo in cputemp
@ 2019-12-18 22:40 Robert Ransom
  2019-12-19  4:50 ` [9front] " Alex Musolino
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Ransom @ 2019-12-18 22:40 UTC (permalink / raw)
  To: 9front

[-- 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
 		 */

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9front] Typo in cputemp
  2019-12-18 22:40 Typo in cputemp Robert Ransom
@ 2019-12-19  4:50 ` Alex Musolino
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Musolino @ 2019-12-19  4:50 UTC (permalink / raw)
  To: 9front

Applied.  Thanks.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-19  4:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-18 22:40 Typo in cputemp Robert Ransom
2019-12-19  4:50 ` [9front] " Alex Musolino

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).