diff options
Diffstat (limited to 'hardware.c')
-rw-r--r-- | hardware.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; } |