From 825454b9b04fbcd4676a06d65f6ee94fdcbc3a78 Mon Sep 17 00:00:00 2001 From: PA4WDH Date: Sun, 21 May 2023 10:38:18 +0200 Subject: Make failsafe exit code variable --- cputemp2maxfreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cputemp2maxfreq.c') 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) -- cgit v1.2.3