From 38c1ad30b2ad8d71f946045e803fd8c4aa5f2e29 Mon Sep 17 00:00:00 2001 From: PA4WDH Date: Wed, 24 May 2023 10:22:28 +0200 Subject: Detect program name from argv[0] --- cputemp2maxfreq.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cputemp2maxfreq.h') 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 -- cgit v1.2.3