aboutsummaryrefslogtreecommitdiffstats
path: root/cpufreq.c
diff options
context:
space:
mode:
authorPA4WDH2024-07-26 19:09:21 +0200
committerPA4WDH2024-07-26 19:09:21 +0200
commita4bd4af6221cd4825d8891f579e2ed571255b987 (patch)
treeaa140225db10082a6d5b73b42039d72ba79ba308 /cpufreq.c
parentOnly increase/decrease if the diff>1000 (diff)
downloadcputemp2maxfreq-a4bd4af6221cd4825d8891f579e2ed571255b987.tar.gz
cputemp2maxfreq-a4bd4af6221cd4825d8891f579e2ed571255b987.tar.bz2
cputemp2maxfreq-a4bd4af6221cd4825d8891f579e2ed571255b987.zip
Fix more typos
Diffstat (limited to 'cpufreq.c')
-rw-r--r--cpufreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpufreq.c b/cpufreq.c
index 6497eff..df21b36 100644
--- a/cpufreq.c
+++ b/cpufreq.c
@@ -8,7 +8,7 @@
#define DIR_BUF_SIZE 1024
-// Validate if we found a file named cpu[0-9][0-9
+// Validate if we found a file named cpu[0-9][0-9]
int cpufreq_is_cpu(char *name)
{
if (strncmp(name,"cpu",3)!=0) return 0;
@@ -93,7 +93,7 @@ int cpufreq_set_str(char *parameter,char *value,long int checkdelay)
}
// This is just a wrapper around cpufreq_set_str with long int to string
-// convertion
+// conversion
int cpufreq_set_long_int(char *parameter,long int value,long int checkdelay)
{
char buf[255];