diff --git a/healthd/BatteryMonitor.cpp b/healthd/BatteryMonitor.cpp index 688c7ff54..fa87274de 100644 --- a/healthd/BatteryMonitor.cpp +++ b/healthd/BatteryMonitor.cpp @@ -37,7 +37,7 @@ namespace android { struct sysfsStringEnumMap { - char* s; + const char* s; int val; };