Merge "libvndksupport: Change log level and message." into oc-mr1-dev
diff --git a/libvndksupport/linker.c b/libvndksupport/linker.c
index 696e978..703b593 100644
--- a/libvndksupport/linker.c
+++ b/libvndksupport/linker.c
@@ -32,14 +32,13 @@
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);
}