diff options
Diffstat (limited to 'elfutils/src/objdump.c')
-rw-r--r-- | elfutils/src/objdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elfutils/src/objdump.c b/elfutils/src/objdump.c index af8abf78..1234c794 100644 --- a/elfutils/src/objdump.c +++ b/elfutils/src/objdump.c @@ -739,7 +739,7 @@ handle_elf (Elf *elf, const char *prefix, const char *fname, /* Get the section header string table index. */ size_t shstrndx; - if (elf_getshstrndx (ebl->elf, &shstrndx) < 0) + if (elf_getshdrstrndx (ebl->elf, &shstrndx) < 0) error (EXIT_FAILURE, 0, gettext ("cannot get section header string table index")); |