Fix typo: the public API dwarf_child() should return DW_DLV_NO_ENTRY

instead of DW_DLE_NO_ENTRY when a child DIE is not found.
This commit is contained in:
Kai Wang 2014-01-18 17:49:32 +00:00
parent 5371959e6f
commit 1201c6fd27
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/elftoolchain/; revision=260854

View file

@ -44,7 +44,7 @@ dwarf_child(Dwarf_Die die, Dwarf_Die *ret_die, Dwarf_Error *error)
}
if (die->die_ab->ab_children == DW_CHILDREN_no)
return (DW_DLE_NO_ENTRY);
return (DW_DLV_NO_ENTRY);
dbg = die->die_dbg;
cu = die->die_cu;