From: Edgar Fuß Date: Fri, 15 Nov 2019 17:57:38 +0000 (+0100) Subject: Fix stupid merging typo X-Git-Tag: collectd-5.11.0~44^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=809b65c97e4838c636c98c19ac20c72f8b34e494;p=thirdparty%2Fcollectd.git Fix stupid merging typo Use #if KERNEL_xxx, not #ifdef. --- diff --git a/src/disk.c b/src/disk.c index e5491e4c8..d26e8c0a6 100644 --- a/src/disk.c +++ b/src/disk.c @@ -338,7 +338,7 @@ static void submit_io_time(char const *plugin_instance, derive_t io_time, } /* void submit_io_time */ #endif /* KERNEL_FREEBSD || (HAVE_SYSCTL && KERNEL_NETBSD) || KERNEL_LINUX */ -#ifdef KERNEL_FREEBSD || KERNEL_LINUX +#if KERNEL_FREEBSD || KERNEL_LINUX static void submit_in_progress(char const *disk_name, gauge_t in_progress) { value_list_t vl = VALUE_LIST_INIT;