projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab98fe1
)
ipmi: fix building with older gcc's
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Tue, 2 Aug 2016 07:52:43 +0000
(09:52 +0200)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Tue, 2 Aug 2016 07:52:43 +0000
(09:52 +0200)
src/ipmi.c
patch
|
blob
|
history
diff --git
a/src/ipmi.c
b/src/ipmi.c
index
a5057d3
..
1422077
100644
(file)
--- a/
src/ipmi.c
+++ b/
src/ipmi.c
@@
-547,6
+547,7
@@
static void domain_connection_change_handler (ipmi_domain_t *domain,
static int thread_init (os_handler_t **ret_os_handler)
{
os_handler_t *os_handler;
+ ipmi_open_option_t open_option[1];
ipmi_con_t *smi_connection = NULL;
ipmi_domain_id_t domain_id;
int status;
@@
-573,7
+574,7
@@
static int thread_init (os_handler_t **ret_os_handler)
ipmi_open_option_t open_option[1] = {
[0] = {
.option = IPMI_OPEN_OPTION_ALL,
- .ival = 1
+ { .ival = 1 }
}
};