Try if this fixes the build on RHEL{5,6}
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 1 Aug 2016 21:19:10 +0000 (23:19 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 1 Aug 2016 21:19:10 +0000 (23:19 +0200)
src/ipmi.c

index 2fee9f2..a5057d3 100644 (file)
@@ -570,7 +570,7 @@ 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