diff options
author | David <dbphillipsnz@gmail.com> | 2014-04-30 13:07:39 +1200 |
---|---|---|
committer | David <dbphillipsnz@gmail.com> | 2014-04-30 13:07:39 +1200 |
commit | 4ec5aa223ec7c1e727ea2497936cbab5e3e57463 (patch) | |
tree | 842cf6bbac21617a0361fd5cd1a7dec5c039566b /trayfreq_set/trayfreq_set.c | |
parent | b7d55116cc2c6a53891ea0d20686c79a6dd803bd (diff) | |
download | paramano-4ec5aa223ec7c1e727ea2497936cbab5e3e57463.tar.xz |
General tidy-up
Diffstat (limited to 'trayfreq_set/trayfreq_set.c')
-rw-r--r-- | trayfreq_set/trayfreq_set.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trayfreq_set/trayfreq_set.c b/trayfreq_set/trayfreq_set.c index a9de8c1..cd0cd4e 100644 --- a/trayfreq_set/trayfreq_set.c +++ b/trayfreq_set/trayfreq_set.c @@ -31,7 +31,7 @@ char file_path[100]; void prepare_path(const char* file, const char* core) { - // Sanatise core to make sure there's not monkey business going on -- it's only an integer + // Sanatise core to make sure there's not monkey business going on int core_i = atoi(core); sprintf(file_path, "/sys/devices/system/cpu/cpu%d/cpufreq/%s", core_i, file); |