projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid using sysctl on linux
[collectd.git]
/
src
/
battery.c
diff --git
a/src/battery.c
b/src/battery.c
index
8e6c4b2
..
20ec261
100644
(file)
--- a/
src/battery.c
+++ b/
src/battery.c
@@
-336,7
+336,7
@@
static int battery_read(void) /* {{{ */
return 0;
} /* }}} int battery_read */
return 0;
} /* }}} int battery_read */
-/* #endif HAVE_IOKIT_IOKITLIB_H || HAVE_IOKIT_PS_IOPOWERSOURCES_H */
+
/* #endif HAVE_IOKIT_IOKITLIB_H || HAVE_IOKIT_PS_IOPOWERSOURCES_H */
#elif KERNEL_LINUX
/* Reads a file which contains only a number (and optionally a trailing
#elif KERNEL_LINUX
/* Reads a file which contains only a number (and optionally a trailing