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); }