diff options
author | Justin Yun <justinyun@google.com> | 2017-07-31 15:18:32 +0900 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2017-11-09 18:07:41 -0800 |
commit | a34bd0561d40d1d4bd9c5089b62633388852abd9 (patch) | |
tree | a86cf499a126dd5af2db7df1cc6328fd193f3c40 /libvndksupport | |
parent | 0d323c12df99201a341f0fb34ed543a46ec6eb86 (diff) | |
download | system_core-a34bd0561d40d1d4bd9c5089b62633388852abd9.tar.gz system_core-a34bd0561d40d1d4bd9c5089b62633388852abd9.tar.bz2 system_core-a34bd0561d40d1d4bd9c5089b62633388852abd9.zip |
libvndksupport: Change log level and message.
If no 'sphal' namespace exist, the sphal library may be found in
current namespace.
Change the log level and message to note this.
Bug: 64162324
Test: Check log message for vndksupport tag.
Change-Id: I5ed6ba1e48f99e7d11d80a465177ac9f3a7fbd97
Merged-In: I5ed6ba1e48f99e7d11d80a465177ac9f3a7fbd97
Diffstat (limited to 'libvndksupport')
-rw-r--r-- | libvndksupport/linker.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libvndksupport/linker.c b/libvndksupport/linker.c index 696e97817..703b593fa 100644 --- a/libvndksupport/linker.c +++ b/libvndksupport/linker.c @@ -32,14 +32,13 @@ void* android_load_sphal_library(const char* name, int flag) { void* handle = android_dlopen_ext(name, flag, &dlextinfo); if (!handle) { ALOGE( - "Could not load %s from sphal namespace: %s. ", + "Could not load %s from sphal namespace: %s.", name, dlerror()); } return handle; } else { - ALOGI( - "sphal namespace is not configured for this process. " - "Loading %s from the current namespace instead.", + ALOGD( + "Loading %s from current namespace instead of sphal namespace.", name); return dlopen(name, flag); } |