abipkgdiff displays an address instead of displaying the name of the
added binary file. This patch, which is from a diff that Sinny Kumari
attached to the bugzilla entry, fixes the issue.
* tools/abipkgdiff.cc (compare): Show the name of the added
binary, rather than its address.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
for (vector<elf_file_sptr>::iterator it = diff.added_binaries.begin();
it != diff.added_binaries.end(); ++it)
{
- cout << " " << *it << ", ";
+ cout << " " << (*it)->name << ", ";
string soname;
get_soname_of_elf_file((*it)->path, soname);
if (!soname.empty())