aboutsummaryrefslogtreecommitdiff
path: root/trayfreq_set/trayfreq_set_interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'trayfreq_set/trayfreq_set_interface.c')
-rw-r--r--trayfreq_set/trayfreq_set_interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/trayfreq_set/trayfreq_set_interface.c b/trayfreq_set/trayfreq_set_interface.c
index 6dc6b14..490d50c 100644
--- a/trayfreq_set/trayfreq_set_interface.c
+++ b/trayfreq_set/trayfreq_set_interface.c
@@ -25,13 +25,13 @@
void si_gov(char* gov, int core)
{
char cmd[256];
- sprintf(cmd, "/usr/bin/sudo trayfreq-set -g %s -c %i",gov,core);
+ sprintf(cmd, "/usr/bin/trayfreq-set -g %s -c %i",gov,core);
system(cmd);
}
void si_freq(int freq, int core)
{
char cmd[256];
- sprintf(cmd, "/usr/bin/sudo trayfreq-set -f %i -c %i",freq,core);
+ sprintf(cmd, "/usr/bin/trayfreq-set -f %i -c %i",freq,core);
system(cmd);
}