]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
Fix stupid merging typo
authorEdgar Fuß <ef@math.uni-bonn.de>
Fri, 15 Nov 2019 17:57:38 +0000 (18:57 +0100)
committerDagobert Michelsen <dam@opencsw.org>
Tue, 18 Feb 2020 16:31:03 +0000 (17:31 +0100)
Use #if KERNEL_xxx, not #ifdef.

src/disk.c

index e5491e4c814d48df5a310e7c5ace4041c45de04b..d26e8c0a6acdd7810133768e6d38085022e28ee3 100644 (file)
@@ -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;