projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eae3dc3
)
Fixed wrong define. Good think this is fixed in `trunk'
collectd-3.8.4
author
octo
<octo>
Sun, 9 Apr 2006 14:06:29 +0000
(14:06 +0000)
committer
octo
<octo>
Sun, 9 Apr 2006 14:06:29 +0000
(14:06 +0000)
src/hddtemp.c
patch
|
blob
|
history
diff --git
a/src/hddtemp.c
b/src/hddtemp.c
index
bba96d8
..
bfb2621
100644
(file)
--- 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;