Code

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 2fee9f280a0c01a69770129a19046a1345d72484..a5057d36e89caafadc2ca00582cec68e33098c23 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