summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuchi Kandoi <kandoiruchi@google.com>2014-06-19 13:16:50 -0700
committerRuchi Kandoi <kandoiruchi@google.com>2014-06-19 13:16:50 -0700
commit04db8a55b847413ee63d19efbc3f3bdc7dd395bb (patch)
tree89d0bf4d8d92bd1fb9e8cba4e00087a4657fb558
parent030ba83c28c4d6faa23ccb20d1001b9be6464c3a (diff)
downloadsystem_core-04db8a55b847413ee63d19efbc3f3bdc7dd395bb.zip
system_core-04db8a55b847413ee63d19efbc3f3bdc7dd395bb.tar.gz
system_core-04db8a55b847413ee63d19efbc3f3bdc7dd395bb.tar.bz2
healthd: UEVENT_MSG_LEN is changed from 1048 to 2048 in compliance with
BUFFER_LEN in the kobject_uevent in kernel. Change-Id: Ia9f4b520847d40fe4e032875dfb79bd063bc723d Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
-rw-r--r--healthd/healthd.cpp2
1 files changed, 1 insertions, 1 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;