projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
83a79f2
)
Merge pull request #3100 from rubenk/virt-fix-compiler-warning
author
Florian Forster
<ff@octo.it>
Wed, 20 Feb 2019 10:43:16 +0000
(11:43 +0100)
committer
GitHub
<noreply@github.com>
Wed, 20 Feb 2019 10:43:16 +0000
(11:43 +0100)
virt plugin: fix compiler warning
src/virt.c
patch
|
blob
|
history
diff --git
a/src/virt.c
b/src/virt.c
index
fd20c77
..
d44aeb7
100644
(file)
--- a/
src/virt.c
+++ b/
src/virt.c
@@
-722,7
+722,7
@@
static int get_block_info(struct lv_block_info *binfo,
ERROR(PLUGIN_NAME " plugin: %s failed: %s", (s), err->message); \
} while (0)
-char *metadata_get_hostname(virDomainPtr dom) {
+
static
char *metadata_get_hostname(virDomainPtr dom) {
const char *xpath_str = NULL;
if (hm_xpath == NULL)
xpath_str = "/instance/name/text()";