diff options
author | 2022-11-28 20:21:16 +0000 | |
---|---|---|
committer | 2023-01-07 21:11:46 +0000 | |
commit | dfbed3af514c47e72fdf9efc556c751dea9487eb (patch) | |
tree | 2c00a00f51fcf4e508a957fd5e7ea953d6da7e8d | |
parent | c85ae17f8267ac528e58892099dcefcc73bb8a26 (diff) |
Correct an incomplete error message.
Test: presubmits
Change-Id: I1c270e1eda1cb26737ebef4c07c95e252b0d3875
-rw-r--r-- | libnativeloader/public_libraries.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libnativeloader/public_libraries.cpp b/libnativeloader/public_libraries.cpp index d44f5169e9..fae4d76d95 100644 --- a/libnativeloader/public_libraries.cpp +++ b/libnativeloader/public_libraries.cpp @@ -128,8 +128,11 @@ void ReadExtensionLibraries(const char* dirname, std::vector<std::string>* sonam android::base::EndsWith(entry.soname, "." + company_name + ".so")) { return true; } else { - return Errorf("Library name \"{}\" does not end with the company name {}.", - entry.soname, company_name); + return Errorf( + "Library name \"{}\" does not start with \"lib\" and/or " + "does not end with the company name \"{}\".", + entry.soname, + company_name); } }); if (ret.ok()) { |