Fixed wrong define. Good think this is fixed in `trunk' collectd-3.8.4
authorocto <octo>
Sun, 9 Apr 2006 14:06:29 +0000 (14:06 +0000)
committerocto <octo>
Sun, 9 Apr 2006 14:06:29 +0000 (14:06 +0000)
src/hddtemp.c

index bba96d8..bfb2621 100644 (file)
@@ -233,7 +233,7 @@ static int hddtemp_config (char *key, char *value)
  * operating-systems, it's not done at all. */
 static void hddtemp_init (void)
 {
-#if KERNEL_LINUX
+#if defined(KERNEL_LINUX)
        FILE *fh;
        char buf[BUFFER_SIZE];
        int buflen;