diff options
author | David <dbphillipsnz@gmail.com> | 2014-07-23 14:29:10 +1200 |
---|---|---|
committer | David <dbphillipsnz@gmail.com> | 2014-07-23 14:29:10 +1200 |
commit | f041e2adac49f11f1f17ca7f172a79b9f71d52ea (patch) | |
tree | 872a92d99bf0bfcc849f2713a4e0aeecaa4e1b30 /getcore.c | |
parent | d933facf6eed60952193b4eec88cac306ba87a78 (diff) | |
download | paramano-f041e2adac49f11f1f17ca7f172a79b9f71d52ea.tar.xz |
Fixed the fix
Diffstat (limited to 'getcore.c')
-rw-r--r-- | getcore.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ bool core_exists(unsigned int core) char corestr[4]; sprintf(corestr, "%d", core); - sprintf(path, "/sys/devices/system/cpu/cpu%s/cpufreq/scaling_cur_freq", corestr); + sprintf(path, "/sys/devices/system/cpu/cpu%s/cpufreq/cpuinfo_cur_freq", corestr); debug("Checking if core %d exists by opening '%s'\n",core,path); return (gboolean)(fd = fopen(path, "r")); } |