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.tokkee.org/?a=commitdiff_plain;h=b42c2620f2a374125360612878c05035f24e27ef;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;