Merge pull request #1830 from rubenk/move-collectd-header
[collectd.git] / src / ipmi.c
index 2fee9f2..d61a8bc 100644 (file)
@@ -24,6 +24,7 @@
  **/
 
 #include "collectd.h"
+
 #include "common.h"
 #include "plugin.h"
 #include "utils_ignorelist.h"
@@ -570,10 +571,10 @@ static int thread_init (os_handler_t **ret_os_handler)
     return (-1);
   }
 
-  ipmi_open_option_t open_option[ ] = {
+  ipmi_open_option_t open_option[1] = {
     [0] = {
       .option = IPMI_OPEN_OPTION_ALL,
-      .ival = 1
+      { .ival = 1 }
     }
   };