X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fturbostat.c;h=14ce29fdb20c0ef9d40ddda2ea48af88ea6da991;hb=3307054b6ab46b51fdda4f528e72d119e9de3071;hp=5ab073d547d073fb3d4544143fb3d7f01dd82530;hpb=59547eb66a3743ca0b458222d7a4318f3e659a60;p=collectd.git 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;