projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd81ee8
)
turbostat plugin: reset the right variable
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 16 Apr 2016 11:52:34 +0000
(13:52 +0200)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 16 Apr 2016 11:59:40 +0000
(13:59 +0200)
src/turbostat.c
patch
|
blob
|
history
diff --git
a/src/turbostat.c
b/src/turbostat.c
index
fc1b5dc
..
bd5d86c
100644
(file)
--- a/
src/turbostat.c
+++ b/
src/turbostat.c
@@
-1342,7
+1342,7
@@
free_all_buffers(void)
CPU_FREE(cpu_present_set);
cpu_present_set = NULL;
- cpu_present_set = 0;
+ cpu_present_set
size
= 0;
CPU_FREE(cpu_affinity_set);
cpu_affinity_set = NULL;