X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fturbostat.c;h=b5d35204d6ca08fb5bd527b6e7af800f704f89fa;hb=733fc645b6389d1f42aef8f1c1631f1db7d58196;hp=68cf412090fd2b767c67c5552f0bcccb6268821e;hpb=74eda959ddf653b7d20779d84f0a140e85376726;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; }