From d0bdfe7df9b307fab2edb62f4171c87ec2004709 Mon Sep 17 00:00:00 2001 From: Marc Fournier Date: Tue, 26 Jan 2016 07:21:57 +0100 Subject: [PATCH] turbostat: fix whitespaces in log messages --- src/turbostat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/turbostat.c b/src/turbostat.c index 5ab073d5..14ce29fd 100644 --- a/src/turbostat.c +++ b/src/turbostat.c @@ -1516,7 +1516,7 @@ check_permissions(void) } if (euidaccess("/dev/cpu/0/msr", R_OK)) { - WARNING("turbostat plugin: Collectd cannot open" + WARNING("turbostat plugin: Collectd cannot open " "/dev/cpu/0/msr. If you don't want to run collectd as " "root, you need to change the ownership (chown) and " "permissions on /dev/cpu/*/msr to allow such access"); @@ -1539,8 +1539,8 @@ turbostat_init(void) int ret; if (stat("/dev/cpu/0/msr", &sb)) { - ERROR("turbostat plugin: Initialization failed: /dev/cpu/0/msr" - " does not exist while the CPU supports MSR. You may be " + ERROR("turbostat plugin: Initialization failed: /dev/cpu/0/msr " + "does not exist while the CPU supports MSR. You may be " "missing the corresponding kernel module, please try '# " "modprobe msr'"); return -1; -- 2.30.2