projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7f2381
)
virt plugin: fix prototype
author
Francesco Romani
<fromani@redhat.com>
Wed, 15 Feb 2017 13:21:20 +0000
(14:21 +0100)
committer
Francesco Romani
<fromani@redhat.com>
Wed, 15 Feb 2017 13:21:20 +0000
(14:21 +0100)
Previously it failed to compile, even though somehow gcc 6.3.1 liked it.
src/virt.c
patch
|
blob
|
history
diff --git
a/src/virt.c
b/src/virt.c
index
f2dccec
..
68a8e6b
100644
(file)
--- a/
src/virt.c
+++ b/
src/virt.c
@@
-484,7
+484,7
@@
static void disk_submit(struct lv_block_info *binfo, virDomainPtr dom,
}
}
-static unsigned int parse_ex_stats_flags(c
onst char
*exstats, int numexstats) {
+static unsigned int parse_ex_stats_flags(c
har *
*exstats, int numexstats) {
int extra_stats = ex_stats_none;
for (int i = 0; i < numexstats; i++) {
for (int j = 0; ex_stats_table[j].name != NULL; j++) {