forked from enlightenment/enlightenment
Cpuclock: Don't debug print the exec string.
This commit is contained in:
parent
9e7b78ffab
commit
392d12bafd
|
@ -89,12 +89,10 @@ _cpuclock_set_governor(const char *governor)
|
||||||
|
|
||||||
snprintf(exe, 4096, "%s/%s/cpuclock_sysfs",
|
snprintf(exe, 4096, "%s/%s/cpuclock_sysfs",
|
||||||
e_module_dir_get(sysinfo_config->module), MODULE_ARCH);
|
e_module_dir_get(sysinfo_config->module), MODULE_ARCH);
|
||||||
printf("%s\n", exe);
|
|
||||||
if (stat(exe, &st) < 0) return;
|
if (stat(exe, &st) < 0) return;
|
||||||
|
|
||||||
snprintf(buf, sizeof(buf),
|
snprintf(buf, sizeof(buf),
|
||||||
"%s %s %s", exe, "governor", governor);
|
"%s %s %s", exe, "governor", governor);
|
||||||
printf("%s\n", buf);
|
|
||||||
system(buf);
|
system(buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue