We were printing the second attribute name twice. Print the first and second.
Reported-by: Gabriel Valky <gvalky@tachyum.com>
Signed-off-by: Mark Wielaard <mark@klomp.org>
+2021-07-03 Mark Wielaard <mark@klomp.org>
+
+ * readelf.c (compare_listptr): Fix dwarf_attr_name argument.
+
2021-06-18 Mark Wielaard <mark@klomp.org>
* unstrip.c (adjust_relocs): Check gelf_getrel and geld_getrela.
error (0, 0,
_("%s %#" PRIx64
" used with different attribute %s and %s"),
- name, (uint64_t) p1->offset, dwarf_attr_name (p2->attr),
+ name, (uint64_t) p1->offset, dwarf_attr_name (p1->attr),
dwarf_attr_name (p2->attr));
}
}