summaryrefslogtreecommitdiffstats
path: root/hardware.c
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-01-08 10:17:53 +0000
committerSteve Block <steveblock@google.com>2012-01-08 11:03:25 +0000
commit60d056bf2926357260592409dee31374fa8e301b (patch)
tree9b55c71742bd4961b6f1ca7451798b8afd175648 /hardware.c
parentf678d4745081038659a72b7c581e00612647f25d (diff)
downloadhardware_libhardware-60d056bf2926357260592409dee31374fa8e301b.tar.gz
hardware_libhardware-60d056bf2926357260592409dee31374fa8e301b.tar.bz2
hardware_libhardware-60d056bf2926357260592409dee31374fa8e301b.zip
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: I0cbe865d464a37365fa3be84948b07e5a0d181d0
Diffstat (limited to 'hardware.c')
-rw-r--r--hardware.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hardware.c b/hardware.c
index 3a5b9df..1f831cb 100644
--- a/hardware.c
+++ b/hardware.c
@@ -74,7 +74,7 @@ static int load(const char *id,
handle = dlopen(path, RTLD_NOW);
if (handle == NULL) {
char const *err_str = dlerror();
- LOGE("load: module=%s\n%s", path, err_str?err_str:"unknown");
+ ALOGE("load: module=%s\n%s", path, err_str?err_str:"unknown");
status = -EINVAL;
goto done;
}
@@ -83,14 +83,14 @@ static int load(const char *id,
const char *sym = HAL_MODULE_INFO_SYM_AS_STR;
hmi = (struct hw_module_t *)dlsym(handle, sym);
if (hmi == NULL) {
- LOGE("load: couldn't find symbol %s", sym);
+ ALOGE("load: couldn't find symbol %s", sym);
status = -EINVAL;
goto done;
}
/* Check that the id matches */
if (strcmp(id, hmi->id) != 0) {
- LOGE("load: id=%s != hmi->id=%s", id, hmi->id);
+ ALOGE("load: id=%s != hmi->id=%s", id, hmi->id);
status = -EINVAL;
goto done;
}