Actually, lets add a newline at the end also (since 'buf' does not

contain one).

Signed-off-by: Chris Michael <devilhorns@comcast.net>
This commit is contained in:
Chris Michael 2013-05-22 17:31:31 +01:00
parent 51db96e202
commit 3e487fb2c8
1 changed files with 1 additions and 1 deletions

View File

@ -566,7 +566,7 @@ _cpufreq_set_pstate(int min, int max, int turbo)
snprintf(buf, sizeof(buf),
"%s %s %i %i %i", cpufreq_config->set_exe_path, "pstate", min, max, turbo);
fprintf(stderr, "%s", buf);
fprintf(stderr, "%s\n", buf);
ret = system(buf);
if (ret != 0)
{