projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
battery_statefs: fix a few build warnings
[collectd.git]
/
src
/
battery_statefs.c
diff --git
a/src/battery_statefs.c
b/src/battery_statefs.c
index
4b9baf4
..
4f6a8c1
100644
(file)
--- a/
src/battery_statefs.c
+++ b/
src/battery_statefs.c
@@
-87,9
+87,9
@@
int battery_read_statefs(void) {
}
struct {
}
struct {
- char *path;
- char *type;
- char *type_instance;
+ c
onst c
har *path;
+ c
onst c
har *type;
+ c
onst c
har *type_instance;
gauge_t factor;
} metrics[] = {
{STATEFS_ROOT "Current", "current", NULL, 1e-6}, // from uA to A
gauge_t factor;
} metrics[] = {
{STATEFS_ROOT "Current", "current", NULL, 1e-6}, // from uA to A