aboutsummaryrefslogtreecommitdiffstats
path: root/cputemp2maxfreq.c
diff options
context:
space:
mode:
authorPA4WDH2023-05-21 10:38:18 +0200
committerPA4WDH2023-05-21 10:38:18 +0200
commit825454b9b04fbcd4676a06d65f6ee94fdcbc3a78 (patch)
tree88d277788a2373882fc656780e6bc4133c16c4cd /cputemp2maxfreq.c
parentRemove buildtime from version.h, add branch (diff)
downloadcputemp2maxfreq-825454b9b04fbcd4676a06d65f6ee94fdcbc3a78.tar.gz
cputemp2maxfreq-825454b9b04fbcd4676a06d65f6ee94fdcbc3a78.tar.bz2
cputemp2maxfreq-825454b9b04fbcd4676a06d65f6ee94fdcbc3a78.zip
Make failsafe exit code variable
Diffstat (limited to 'cputemp2maxfreq.c')
-rw-r--r--cputemp2maxfreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cputemp2maxfreq.c b/cputemp2maxfreq.c
index ee983ca..163917c 100644
--- a/cputemp2maxfreq.c
+++ b/cputemp2maxfreq.c
@@ -54,7 +54,7 @@ int main()
printf("Failed to set governor, error %d (%s).\n",errno,strerror(errno));
// We failed to set the governor, call the failsafe
- failsafe();
+ failsafe(1);
}
while(1)