X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fturbostat.c;h=b5d35204d6ca08fb5bd527b6e7af800f704f89fa;hb=7c9d772c992647fcba64a96800c146eb9f1647f8;hp=68cf412090fd2b767c67c5552f0bcccb6268821e;hpb=7f07c55bac640c7a50d516248a3152235a14af59;p=collectd.git diff --git a/src/turbostat.c b/src/turbostat.c index 68cf4120..b5d35204 100644 --- a/src/turbostat.c +++ b/src/turbostat.c @@ -1429,7 +1429,7 @@ static int turbostat_read(void) { /* Saving the scheduling affinity, as it will be modified by get_counters */ if (sched_getaffinity(0, cpu_saved_affinity_setsize, cpu_saved_affinity_set) != 0) { - ERROR("turbostat plugin: Unable to save the CPU affinity"); + ERROR("turbostat plugin: Unable to save the CPU affinity: %s", STRERRNO); return -1; }