Advertisement
Guest User

Untitled

a guest
Oct 24th, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. --- src/cpufreqd_governor_parameters.c
  2. +++ src/cpufreqd_governor_parameters.c
  3. @@ -61,7 +61,8 @@
  4. struct sysfs_device *govdev = NULL;
  5.  
  6. /* Construct sysfs path string for governor device of this cpu */
  7. - snprintf(govdev_path, SYSFS_PATH_MAX, "%s/cpu%u/cpufreq/%s", syspath_cpu, cpu, governor);
  8. + //snprintf(govdev_path, SYSFS_PATH_MAX, "%s/cpu%u/cpufreq/%s", syspath_cpu, cpu, governor);
  9. + snprintf(govdev_path, SYSFS_PATH_MAX, "%s/cpufreq/%s", syspath_cpu, governor);
  10. clog(LOG_DEBUG, "sysfs path governor device = %s\n", govdev_path);
  11.  
  12. /* Open sysfs governor device */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement