X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fturbostat.c;h=49c3968034d988d5a3462dc9bbece301afbc1a3b;hb=009c673408d3e05f8604b3fb818cf3358f984be3;hp=ac8c9fb4c03897662a8e72670220220a5089c66e;hpb=7f709d3ff337e5fdc5fc5f53ebfcbe6050215046;p=collectd.git diff --git a/src/turbostat.c b/src/turbostat.c index ac8c9fb4..49c39680 100644 --- a/src/turbostat.c +++ b/src/turbostat.c @@ -1476,7 +1476,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; }