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^0 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=14552fd7b5507b4c68a21ee9f1b28f500fd168bd;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;