Merge pull request #2806 from rorysexton/dev_turbostat_plugin
[collectd.git] / src / turbostat.c
index ac8c9fb..49c3968 100644 (file)
@@ -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;
   }