summaryrefslogtreecommitdiff
path: root/linker/linker.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2016-06-17 13:46:36 -0700
committerChristopher Ferris <cferris@google.com>2016-06-20 11:36:54 -0700
commit523e2a98072314c575107ecb51dd2e4ef31ae242 (patch)
tree35f1ea01e3cd42dc08d32788257706758608f4be /linker/linker.cpp
parent112be469bb0671f19f4f61e021693595384142fa (diff)
Make missing public soname error message clear.
If a public library is missing, make it clear that there is no library with that soname that is missing. This can help diagnose problems if a library exists, but the library doesn't have the right soname. Bug: 29400363 (cherry picked from commit 9a84d90c753dd934c3086322f6ba6b7a1f580c8c) Change-Id: Ie2306a2e28aff779d07441dc8af078256b184f8a
Diffstat (limited to 'linker/linker.cpp')
-rw-r--r--linker/linker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linker/linker.cpp b/linker/linker.cpp
index 9eb3a65c7..e2d57f0e5 100644
--- a/linker/linker.cpp
+++ b/linker/linker.cpp
@@ -2403,8 +2403,8 @@ bool init_namespaces(const char* public_ns_sonames, const char* anon_ns_library_
find_loaded_library_by_soname(&g_default_namespace, soname.c_str(), &candidate);
if (candidate == nullptr) {
- DL_ERR("error initializing public namespace: \"%s\" was not found"
- " in the default namespace", soname.c_str());
+ DL_ERR("error initializing public namespace: a library with soname \"%s\""
+ " was not found in the default namespace", soname.c_str());
return false;
}