Add library name to error message

Change-Id: I079e6f1dd95fe9cae2135fcd7358c51f8b584ac9
This commit is contained in:
Dmitriy Ivanov 2015-04-20 17:40:39 -07:00
parent c5bd96efd2
commit 3d7bea1fa0

View File

@ -442,7 +442,8 @@ static bool for_each_verdef(const soinfo* si, F functor) {
offset += verdef->vd_next;
if (verdef->vd_version != 1) {
DL_ERR("unsupported verdef[%zd] vd_version: %d (expected 1)", i, verdef->vd_version);
DL_ERR("unsupported verdef[%zd] vd_version: %d (expected 1) library: %s",
i, verdef->vd_version, si->get_soname());
return false;
}