projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix double declaration
[collectd.git]
/
src
/
ipmi.c
diff --git
a/src/ipmi.c
b/src/ipmi.c
index
2fee9f2
..
93f2486
100644
(file)
--- a/
src/ipmi.c
+++ b/
src/ipmi.c
@@
-570,10
+570,10
@@
static int thread_init (os_handler_t **ret_os_handler)
return (-1);
}
return (-1);
}
- ipmi_open_option_t open_option[
] = {
+ ipmi_open_option_t open_option[
1
] = {
[0] = {
.option = IPMI_OPEN_OPTION_ALL,
[0] = {
.option = IPMI_OPEN_OPTION_ALL,
- .ival = 1
+ { .ival = 1 }
}
};
}
};