projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #3163 from rpv-tomsk/virt-1
[collectd.git]
/
src
/
battery_statefs.c
diff --git
a/src/battery_statefs.c
b/src/battery_statefs.c
index
4f6a8c1
..
d2c1ed9
100644
(file)
--- a/
src/battery_statefs.c
+++ b/
src/battery_statefs.c
@@
-44,9
+44,9
@@
SOFTWARE.
**/
**/
-#include "common.h"
-#include "plugin.h"
#include "collectd.h"
#include "collectd.h"
+#include "plugin.h"
+#include "utils/common/common.h"
#include <stdio.h>
#include <stdio.h>
@@
-115,8
+115,8
@@
int battery_read_statefs(void) {
if (success == 0) {
ERROR("battery plugin: statefs backend: none of the statistics are "
"available");
if (success == 0) {
ERROR("battery plugin: statefs backend: none of the statistics are "
"available");
- return
(-1)
;
+ return
-1
;
}
}
- return
(0)
;
+ return
0
;
}
}