aboutsummaryrefslogtreecommitdiff
path: root/trayfreq_set_interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'trayfreq_set_interface.c')
-rw-r--r--trayfreq_set_interface.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/trayfreq_set_interface.c b/trayfreq_set_interface.c
index 3e26112..e64a88e 100644
--- a/trayfreq_set_interface.c
+++ b/trayfreq_set_interface.c
@@ -18,6 +18,8 @@
#include "trayfreq_set_interface.h"
+#include "debug.h"
+
#include <stdio.h>
#include <stdlib.h>
@@ -30,6 +32,7 @@ void si_gov(char* gov, int core)
} else {
sprintf(cmd, "trayfreq-set -g %s -c %i",gov,core);
}
+ debug("Running '%s'\n",cmd);
system(cmd);
}
@@ -42,5 +45,6 @@ void si_freq(int freq, int core)
} else {
sprintf(cmd, "trayfreq-set -f %i -c %i",freq,core);
}
+ debug("Running '%s'\n",cmd);
system(cmd);
}