summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f1552fd)
raw | patch | inline | side by side (parent: f1552fd)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Tue, 26 Jan 2016 06:21:57 +0000 (07:21 +0100) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Tue, 26 Jan 2016 06:21:57 +0000 (07:21 +0100) |
src/turbostat.c | patch | blob | history |
diff --git a/src/turbostat.c b/src/turbostat.c
index 5ab073d547d073fb3d4544143fb3d7f01dd82530..14ce29fdb20c0ef9d40ddda2ea48af88ea6da991 100644 (file)
--- a/src/turbostat.c
+++ b/src/turbostat.c
}
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");
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;