diff options
author | kaiw <kaiw@FreeBSD.org> | 2014-01-18 17:49:32 +0000 |
---|---|---|
committer | kaiw <kaiw@FreeBSD.org> | 2014-01-18 17:49:32 +0000 |
commit | de938e3f1716c9eaf863402eed556f53ce34dfc1 (patch) | |
tree | 31a11e8c4340dd86ee84a6c4a9c79483e483f773 /contrib/elftoolchain | |
parent | 3ec8bfd144c5e8ed4e3eb23e52cce6e8f24f1c1b (diff) | |
download | FreeBSD-src-de938e3f1716c9eaf863402eed556f53ce34dfc1.zip FreeBSD-src-de938e3f1716c9eaf863402eed556f53ce34dfc1.tar.gz |
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.
Diffstat (limited to 'contrib/elftoolchain')
-rw-r--r-- | contrib/elftoolchain/libdwarf/dwarf_die.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/elftoolchain/libdwarf/dwarf_die.c b/contrib/elftoolchain/libdwarf/dwarf_die.c index b2b3840..055d952 100644 --- a/contrib/elftoolchain/libdwarf/dwarf_die.c +++ b/contrib/elftoolchain/libdwarf/dwarf_die.c @@ -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; |