devilhorns pushed a commit to branch master.

commit 3e487fb2c82d8112a64fbb451d50c6a4fade78e9
Author: Chris Michael <[email protected]>
Date:   Wed May 22 17:31:31 2013 +0100

    Actually, lets add a newline at the end also (since 'buf' does not
    contain one).
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/modules/cpufreq/e_mod_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/cpufreq/e_mod_main.c b/src/modules/cpufreq/e_mod_main.c
index d982396..cd9c1e1 100644
--- a/src/modules/cpufreq/e_mod_main.c
+++ b/src/modules/cpufreq/e_mod_main.c
@@ -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)
      {

-- 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may

Reply via email to