From: Cyrill Gorcunov Signed-off-by: Cyrill Gorcunov Signed-off-by: Andrew Morton --- include/linux/elf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN include/linux/elf.h~elf-use-ei_nident-instead-of-numeric-value include/linux/elf.h --- a/include/linux/elf.h~elf-use-ei_nident-instead-of-numeric-value +++ a/include/linux/elf.h @@ -208,7 +208,7 @@ typedef struct elf32_hdr{ } Elf32_Ehdr; typedef struct elf64_hdr { - unsigned char e_ident[16]; /* ELF "magic number" */ + unsigned char e_ident[EI_NIDENT]; /* ELF "magic number" */ Elf64_Half e_type; Elf64_Half e_machine; Elf64_Word e_version; _