diff options
Diffstat (limited to 'elf/dl-addr.c')
-rw-r--r-- | elf/dl-addr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-addr.c b/elf/dl-addr.c index 535977ca5e..5d3719adb2 100644 --- a/elf/dl-addr.c +++ b/elf/dl-addr.c @@ -83,7 +83,7 @@ _dl_addr (const void *address, Dl_info *info, for (Elf_Symndx bucket = 0; bucket < match->l_nbuckets; ++bucket) { Elf32_Word symndx = match->l_gnu_buckets[bucket]; - if (bucket != 0) + if (symndx != 0) { const Elf32_Word *hasharr = &match->l_gnu_chain_zero[symndx]; |