battery_statefs: fix a few build warnings
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 2 Dec 2016 13:53:40 +0000 (14:53 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 2 Dec 2016 13:53:40 +0000 (14:53 +0100)
commit6ab19698c76f14696e606c5b1de22190d00ca903
tree496688dffb7525e4a14c9e64f8c025215d6e023d
parentd6b4d8a4fce28d6c6bc689de582ebff525fa13dc
battery_statefs: fix a few build warnings

battery_statefs.c:95:8: warning: initializing 'char *' with an expression of type 'const char [38]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
      {STATEFS_ROOT "Current", "current", NULL, 1e-6},        // from uA to A
       ^~~~~~~~~~~~~~~~~~~~~~
src/battery_statefs.c