diff options
Diffstat (limited to 'src/format/elf/elf.c')
-rw-r--r-- | src/format/elf/elf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/format/elf/elf.c b/src/format/elf/elf.c index e618658..4a56c52 100644 --- a/src/format/elf/elf.c +++ b/src/format/elf/elf.c @@ -176,7 +176,7 @@ GBinFormat *g_elf_format_new(const bin_t *content, off_t length) g_binary_format_set_content(G_BIN_FORMAT(result), content, length); - if (!read_elf_header(content, length, &result->header, &result->is_32b, &result->endian)) + if (!read_elf_header(result, &result->header, &result->is_32b, &result->endian)) { /* TODO */ return NULL; |