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:
kaiw 2014-01-18 17:49:32 +00:00
parent 3ec8bfd144
commit de938e3f17

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;