mirror of
https://github.com/S3NEO/android_device_samsung_msm8226-common.git
synced 2024-11-06 21:55:45 +00:00
msm8974-common: init: Update for O
Change-Id: I60475e3dbf68329a46c421e8c8465a4ea2e28203
This commit is contained in:
parent
ed60e16ea2
commit
6c9bcca316
2 changed files with 19 additions and 1 deletions
|
@ -1,3 +1,19 @@
|
|||
#
|
||||
# Copyright (C) 2016 The CyanogenMod Project
|
||||
# 2017 The LineageOS Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
@ -11,4 +27,6 @@ ifneq ($(TARGET_LIBINIT_MSM8974_DEFINES_FILE),)
|
|||
endif
|
||||
LOCAL_MODULE := libinit_msm8974
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := libbase
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
|
|
@ -69,7 +69,7 @@ static int read_file2(const char *fname, char *data, int max_size)
|
|||
|
||||
fd = open(fname, O_RDONLY);
|
||||
if (fd < 0) {
|
||||
ERROR("failed to open '%s'\n", fname);
|
||||
LOG(ERROR) << "failed to open " << fname << std::endl;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue