From: Cyrill Gorcunov Date: Tue, 29 Apr 2008 08:01:17 +0000 (-0700) Subject: ELF: Use EI_NIDENT instead of numeric value X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=eb6900fbfa43cb50391b80b38608e25280705693;p=linux-beck.git ELF: Use EI_NIDENT instead of numeric value Signed-off-by: Cyrill Gorcunov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/elf.h b/include/linux/elf.h index bad1b16ec49a..ff9fbed90123 100644 --- a/include/linux/elf.h +++ b/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;