diff options
author | Petr Machata <pmachata@redhat.com> | 2009-06-16 15:22:04 +0200 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2009-06-16 15:22:04 +0200 |
commit | 9e38b7374a0b9cb7aa77c2ad8afe5aac7182d337 (patch) | |
tree | ca307d5078971fdef16f324e8ffd32b25ddd0df1 /src/size.c | |
parent | 77abb31cb8d55980ef92260917a7ecdd228b1a44 (diff) | |
parent | 99d2372b25d1231d786b70278478c7a112f2b27c (diff) |
Merge branch 'master' of ssh://pmachata@git.fedorahosted.org/git/elfutils into pmachata/reader_hooksupstream/pmachata/reader_hooks
Diffstat (limited to 'src/size.c')
-rw-r--r-- | src/size.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -420,7 +420,7 @@ show_sysv (Elf *elf, const char *prefix, const char *fname, /* Get the section header string table index. */ size_t shstrndx; - if (unlikely (elf_getshstrndx (elf, &shstrndx) < 0)) + if (unlikely (elf_getshdrstrndx (elf, &shstrndx) < 0)) error (EXIT_FAILURE, 0, gettext ("cannot get section header string table index")); @@ -494,7 +494,7 @@ show_sysv_one_line (Elf *elf) { /* Get the section header string table index. */ size_t shstrndx; - if (unlikely (elf_getshstrndx (elf, &shstrndx) < 0)) + if (unlikely (elf_getshdrstrndx (elf, &shstrndx) < 0)) error (EXIT_FAILURE, 0, gettext ("cannot get section header string table index")); |