diff options
Diffstat (limited to 'healthd')
-rw-r--r-- | healthd/healthd.cpp | 2 | ||||
-rw-r--r-- | healthd/healthd_board_default.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/healthd/healthd.cpp b/healthd/healthd.cpp index 9b84c3e..d30e771 100644 --- a/healthd/healthd.cpp +++ b/healthd/healthd.cpp @@ -126,7 +126,7 @@ static void uevent_init(void) { KLOG_ERROR(LOG_TAG, "uevent_init: uevent_open_socket failed\n"); } -#define UEVENT_MSG_LEN 1024 +#define UEVENT_MSG_LEN 2048 static void uevent_event(void) { char msg[UEVENT_MSG_LEN+2]; char *cp; diff --git a/healthd/healthd_board_default.cpp b/healthd/healthd_board_default.cpp index b2bb516..ed4ddb4 100644 --- a/healthd/healthd_board_default.cpp +++ b/healthd/healthd_board_default.cpp @@ -16,13 +16,13 @@ #include <healthd.h> -void healthd_board_init(struct healthd_config *config) +void healthd_board_init(struct healthd_config*) { // use defaults } -int healthd_board_battery_update(struct android::BatteryProperties *props) +int healthd_board_battery_update(struct android::BatteryProperties*) { // return 0 to log periodic polled battery status to kernel log return 0; |