From: Chris Coetzee Date: Wed, 2 Nov 2016 13:18:08 +0000 (+0200) Subject: Fix relocation_bytesize typo X-Git-Tag: v0.25~54^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=466817d0cfb40b4e6192338a69b3b476a280b123;p=pyelftools.git Fix relocation_bytesize typo --- diff --git a/elftools/elf/relocation.py b/elftools/elf/relocation.py index c663d1c..690309f 100644 --- a/elftools/elf/relocation.py +++ b/elftools/elf/relocation.py @@ -169,7 +169,7 @@ class RelocationHandler(object): value_struct = self.elffile.structs.Elf_word64('') else: raise ELFRelocationError('Invalid bytesize %s for relocation' % - recipe_bytesize) + recipe.bytesize) # 1. Read the value from the stream (with correct size and endianness) original_value = struct_parse(