diff options
author | Patrik Ryd <patrik.ryd@linaro.org> | 2011-05-11 15:38:22 +0200 |
---|---|---|
committer | Patrik Ryd <patrik.ryd@linaro.org> | 2011-05-11 15:38:22 +0200 |
commit | 86b3623dbbd289066b0e18d72408a6cc572e0407 (patch) | |
tree | ecce198bf0024df777c0101c357b628d3cd38a44 | |
parent | 25b68b5c24e443c326af73a33cea6dc45e845254 (diff) | |
download | libhardware-dev_budapest.tar.gz |
Added some loggging for Zachs builddev_budapest
Change-Id: I76f7e347b40732790d727c0962cd2195d671f59b
-rw-r--r-- | hardware.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -140,14 +140,23 @@ int hw_get_module(const char *id, const struct hw_module_t **module) } snprintf(path, sizeof(path), "%s/%s.%s.so", HAL_LIBRARY_PATH1, id, prop); + + LOGI("checking for %s\n",path); + if (access(path, R_OK) == 0) break; snprintf(path, sizeof(path), "%s/%s.%s.so", HAL_LIBRARY_PATH2, id, prop); + + LOGI("checking for %s\n",path); + if (access(path, R_OK) == 0) break; } else { snprintf(path, sizeof(path), "%s/%s.default.so", HAL_LIBRARY_PATH1, id); + + LOGI("checking for %s\n",path); + if (access(path, R_OK) == 0) break; } } |