summaryrefslogtreecommitdiff
path: root/plugins/readelf/section.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/readelf/section.c')
-rw-r--r--plugins/readelf/section.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/readelf/section.c b/plugins/readelf/section.c
index 8445fc6..bae4b4c 100644
--- a/plugins/readelf/section.c
+++ b/plugins/readelf/section.c
@@ -422,7 +422,7 @@ bool annotate_elf_section_header_table(GElfFormat *format)
result = true;
header = g_elf_format_get_header(format);
- endian = g_elf_format_get_endianness(format);
+ endian = g_binary_format_get_endianness(G_BIN_FORMAT(format));
if (!find_elf_section_by_index(format, ELF_HDR(format, *header, e_shstrndx), &strings))
return false;