Skip to content

Commit

Permalink
Merge pull request #44 from CyanogenMod/cm-12.1
Browse files Browse the repository at this point in the history
update
  • Loading branch information
alwaysadeel committed May 5, 2015
2 parents d039e0e + 985287b commit 3b56ea7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions fs_mgr/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ LOCAL_SRC_FILES:= fs_mgr.c fs_mgr_verity.c fs_mgr_fstab.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include

LOCAL_MODULE:= libfs_mgr
LOCAL_STATIC_LIBRARIES := liblogwrap libmincrypt libext4_utils_static libext2_blkid libext2_uuid
LOCAL_STATIC_LIBRARIES := liblogwrap libmincrypt libext4_utils_static libext2_blkid libext2_uuid_static
LOCAL_C_INCLUDES += system/extras/ext4_utils external/e2fsprogs/lib
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
LOCAL_CFLAGS := -Werror
Expand All @@ -34,7 +34,7 @@ LOCAL_FORCE_STATIC_EXECUTABLE := true
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)/sbin
LOCAL_UNSTRIPPED_PATH := $(TARGET_ROOT_OUT_UNSTRIPPED)

LOCAL_STATIC_LIBRARIES := libfs_mgr liblogwrap libcutils liblog libc libmincrypt libext4_utils_static libext2_blkid libext2_uuid
LOCAL_STATIC_LIBRARIES := libfs_mgr liblogwrap libcutils liblog libc libmincrypt libext4_utils_static libext2_blkid libext2_uuid_static

LOCAL_CFLAGS := -Werror

Expand Down
2 changes: 1 addition & 1 deletion init/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ LOCAL_STATIC_LIBRARIES := \
libmincrypt \
libext4_utils_static \
libext2_blkid \
libext2_uuid
libext2_uuid_static

LOCAL_ADDITIONAL_DEPENDENCIES += $(LOCAL_PATH)/Android.mk
ifneq ($(strip $(TARGET_PLATFORM_DEVICE_BASE)),)
Expand Down
3 changes: 3 additions & 0 deletions libsysutils/src/NetlinkEvent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,9 @@ bool NetlinkEvent::decode(char *buffer, int size, int format) {

const char *NetlinkEvent::findParam(const char *paramName) {
size_t len = strlen(paramName);
if (len == 0) {
return NULL;
}
for (int i = 0; i < NL_PARAMS_MAX && mParams[i] != NULL; ++i) {
const char *ptr = mParams[i] + len;
if (!strncmp(mParams[i], paramName, len) && *ptr == '=')
Expand Down

0 comments on commit 3b56ea7

Please sign in to comment.