summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index 7aee6930..6be7de11 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -699,7 +699,7 @@ dwarf_builder::probe_table::probe_table(string& mark_name, systemtap_session & s
elf = dwfl_module_getelf (dw->module, &bias);
Elf_Scn *probe_scn = NULL;
- dwfl_assert ("getshstrndx", elf_getshstrndx (elf, &shstrndx));
+ dwfl_assert ("getshdrstrndx", elf_getshdrstrndx (elf, &shstrndx));
have_probes = false;
@@ -723,7 +723,7 @@ dwarf_builder::probe_table::probe_table(string& mark_name, systemtap_session & s
elf = dwarf_getelf (dwfl_module_getdwarf (dw->module, &bias));
if (! elf)
return;
- dwfl_assert ("getshstrndx", elf_getshstrndx (elf, &shstrndx));
+ dwfl_assert ("getshdrstrndx", elf_getshdrstrndx (elf, &shstrndx));
probe_scn = NULL;
while ((probe_scn = elf_nextscn (elf, probe_scn)))
{
@@ -3702,7 +3702,7 @@ symbol_table::prepare_section_rejection(Dwfl_Module *mod)
if (!elf)
return;
- if (elf_getshstrndx(elf, &shstrndx) != 0)
+ if (elf_getshdrstrndx (elf, &shstrndx) != 0)
return;
while ((scn = elf_nextscn(elf, scn)) != NULL)
{