From: octo Date: Sun, 9 Apr 2006 14:06:29 +0000 (+0000) Subject: Fixed wrong define. Good think this is fixed in `trunk' X-Git-Tag: collectd-3.8.4 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=911dd7b643bd65efcb4315cbda7cf5984e75e662;p=collectd.git Fixed wrong define. Good think this is fixed in `trunk' --- diff --git a/src/hddtemp.c b/src/hddtemp.c index bba96d8b..bfb2621b 100644 --- a/src/hddtemp.c +++ b/src/hddtemp.c @@ -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;