projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
829683c
)
turbostat plugin: show error details
author
Pavel Rochnyack
<pavel2000@ngs.ru>
Thu, 5 Jul 2018 12:27:15 +0000
(19:27 +0700)
committer
Pavel Rochnyack
<pavel2000@ngs.ru>
Thu, 5 Jul 2018 12:27:17 +0000
(19:27 +0700)
src/turbostat.c
patch
|
blob
|
history
diff --git
a/src/turbostat.c
b/src/turbostat.c
index
68cf412
..
b5d3520
100644
(file)
--- 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;
}