From: Ruben Kerkhof Date: Mon, 1 Aug 2016 21:19:10 +0000 (+0200) Subject: Try if this fixes the build on RHEL{5,6} X-Git-Tag: collectd-5.6.0~132^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab98fe13d7d630be88431b5ec0d761573044ac3a;p=thirdparty%2Fcollectd.git Try if this fixes the build on RHEL{5,6} --- diff --git a/src/ipmi.c b/src/ipmi.c index 2fee9f280..a5057d36e 100644 --- a/src/ipmi.c +++ b/src/ipmi.c @@ -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