aboutsummaryrefslogtreecommitdiffstats
path: root/cputemp2maxfreq.h
diff options
context:
space:
mode:
authorPA4WDH2023-05-24 10:22:28 +0200
committerPA4WDH2023-05-24 10:22:28 +0200
commit38c1ad30b2ad8d71f946045e803fd8c4aa5f2e29 (patch)
tree97556352b05defdddf48cb9787840c13e0ff4295 /cputemp2maxfreq.h
parentAdd data log option (diff)
downloadcputemp2maxfreq-38c1ad30b2ad8d71f946045e803fd8c4aa5f2e29.tar.gz
cputemp2maxfreq-38c1ad30b2ad8d71f946045e803fd8c4aa5f2e29.tar.bz2
cputemp2maxfreq-38c1ad30b2ad8d71f946045e803fd8c4aa5f2e29.zip
Detect program name from argv[0]
Diffstat (limited to 'cputemp2maxfreq.h')
-rw-r--r--cputemp2maxfreq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cputemp2maxfreq.h b/cputemp2maxfreq.h
index 0e4c424..6eb5726 100644
--- a/cputemp2maxfreq.h
+++ b/cputemp2maxfreq.h
@@ -26,6 +26,7 @@ struct s_cpudata {
};
struct s_config {
+ char name[255]; // Name of this program
char governor[255]; // The governor to use
long int max_temp; // The target temperature
char temp_input[255]; // Input file to read the temperature