1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

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;