diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2008-04-29 04:01:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 11:06:16 -0400 |
commit | eb6900fbfa43cb50391b80b38608e25280705693 (patch) | |
tree | ed187f5035d75f827627bdef6ecc2caab9ed2b8d /include | |
parent | adf535eeaca9e3963698df7bc5b4634d6d07f809 (diff) |
ELF: Use EI_NIDENT instead of numeric value
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/elf.h | 2 |
1 files changed, 1 insertions, 1 deletions
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{ | |||
208 | } Elf32_Ehdr; | 208 | } Elf32_Ehdr; |
209 | 209 | ||
210 | typedef struct elf64_hdr { | 210 | typedef struct elf64_hdr { |
211 | unsigned char e_ident[16]; /* ELF "magic number" */ | 211 | unsigned char e_ident[EI_NIDENT]; /* ELF "magic number" */ |
212 | Elf64_Half e_type; | 212 | Elf64_Half e_type; |
213 | Elf64_Half e_machine; | 213 | Elf64_Half e_machine; |
214 | Elf64_Word e_version; | 214 | Elf64_Word e_version; |