diff options
Diffstat (limited to 'cputemp2maxfreq.c')
-rw-r--r-- | cputemp2maxfreq.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cputemp2maxfreq.c b/cputemp2maxfreq.c index dd58e16..826655a 100644 --- a/cputemp2maxfreq.c +++ b/cputemp2maxfreq.c @@ -15,6 +15,7 @@ // Set default config struct s_config config={ + "", // Name of this program, set by argparse "conservative", // Governor 70000, // Temperature "/sys/devices/virtual/thermal/thermal_zone0/temp", // Temperature input @@ -39,7 +40,7 @@ int main(int argc,char **argv) long int newfreq; argparse(argc,argv); - config.logger("Version %s, buildtime %s %s",version(),__DATE__,__TIME__); + config.logger("%s version %s, buildtime %s %s",config.name,version(),__DATE__,__TIME__); // Log configuration config.logger("Configuration:"); |