diff options
Diffstat (limited to 'src/format/elf/program.c')
-rw-r--r-- | src/format/elf/program.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/format/elf/program.c b/src/format/elf/program.c index d842b8e..95afd31 100644 --- a/src/format/elf/program.c +++ b/src/format/elf/program.c @@ -100,7 +100,7 @@ bool find_elf_program_by_index(const GElfFormat *format, uint16_t index, elf_phd offset = ELF_HDR(format, format->header, e_phoff) + ELF_HDR(format, format->header, e_phentsize) * index; - return read_elf_program_header(format, &offset, program); + return read_elf_program_header(format, offset, program); } |