aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPA4WDH2024-07-25 17:02:12 +0200
committerPA4WDH2024-07-25 17:02:12 +0200
commit44bc06a882b9d2f0544de6d033b6ea7334c937d2 (patch)
tree9ff2978a1a16f0c63564fae8323057e3660fb883
parentAdd ebuild for version 0.3 (diff)
downloadcputemp2maxfreq-44bc06a882b9d2f0544de6d033b6ea7334c937d2.tar.gz
cputemp2maxfreq-44bc06a882b9d2f0544de6d033b6ea7334c937d2.tar.bz2
cputemp2maxfreq-44bc06a882b9d2f0544de6d033b6ea7334c937d2.zip
Fix typos
-rw-r--r--README.html8
-rw-r--r--cputemp2maxfreq.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/README.html b/README.html
index 614e0c1..312f4c6 100644
--- a/README.html
+++ b/README.html
@@ -14,14 +14,14 @@
fanless mainboard in the first place. The other solution is to reduce CPU heat
generation when the temperature is too high, and the best way to do that is to
reduce it's frequency as can be done with cpufreq within linux.<br>
- When discovered there is no program to do that i deciced to write it myself.
+ When I discovered there is no program to do that i deciced to write it myself.
</p>
<h2>What does this program do?</h2>
<p>
It's basic function is simple: It reads the CPU's temperature sensor and if
- the temperature is above a certain threshold it will lower scale_max_freq to
+ the temperature is above a certain threshold it will lower scaling_max_freq to
lower the CPU speed and allow it to cool down. When the temperature drops
- below the threshold it will increase scalea_max_freq again to allow it to
+ below the threshold it will increase scaling_max_freq again to allow it to
reach it's full speed.
</p>
<p>
@@ -31,7 +31,7 @@
<p><strong>Scaling options:</strong></p>
<ul>
<li><strong>-f</strong> sets the fallback frequency. In case something goes
- wrongthe program sets the CPU frequency to it's minimum. In case that
+ wrong the program sets the CPU frequency to it's minimum. In case that
fails too it will try the fallback frequency</li>
<li><strong>-g</strong> the cpufreq governor to use. Conservative seems to work
nicely with this daemon's concept. Use the special keyword
diff --git a/cputemp2maxfreq.c b/cputemp2maxfreq.c
index 887a406..597f1e8 100644
--- a/cputemp2maxfreq.c
+++ b/cputemp2maxfreq.c
@@ -150,7 +150,7 @@ int main(int argc,char **argv)
cpudata.cur_temp=sysfs_read_long_int(config.temp_input);
if ((cpudata.cur_temp<VALID_TEMP_MIN) || (cpudata.cur_temp>VALID_TEMP_MAX))
{
- config.logger("Invalid current tempature reported by CPU, exiting");
+ config.logger("Invalid current tempeture reported by CPU, exiting");
failsafe(1);
}