From: Marc Fournier Date: Tue, 26 Jan 2016 06:21:57 +0000 (+0100) Subject: turbostat: fix whitespaces in log messages X-Git-Tag: collectd-5.5.2~68 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=d0bdfe7df9b307fab2edb62f4171c87ec2004709;p=collectd.git turbostat: fix whitespaces in log messages --- 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;