mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +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:
parent
5371959e6f
commit
1201c6fd27
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/elftoolchain/; revision=260854
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue