aboutsummaryrefslogtreecommitdiffstats
path: root/cputemp2maxfreq.c
diff options
context:
space:
mode:
Diffstat (limited to 'cputemp2maxfreq.c')
-rw-r--r--cputemp2maxfreq.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/cputemp2maxfreq.c b/cputemp2maxfreq.c
index 267c54e..4374ea4 100644
--- a/cputemp2maxfreq.c
+++ b/cputemp2maxfreq.c
@@ -8,6 +8,7 @@
#include "debug.h"
#include "cputemp2maxfreq.h"
#include "failsafe.h"
+#include "version.h"
struct s_cpudata cpudata;
struct s_config config={"conservative",70000,"/sys/devices/virtual/thermal/thermal_zone0/temp",100000,2000000,10};
@@ -17,8 +18,10 @@ int main()
long int diff;
long int newfreq;
+ printf("Version %s, buildtime %s\n",VERSION_FULL,BUILDTIME);
+
// Print configuration
- printf("Configuration:");
+ printf("Configuration:\n");
printf("Governor: %s\n",config.governor);
printf("Temperature: %ld\n",config.max_temp);
printf("Temp input: %s\n",config.temp_input);