summaryrefslogtreecommitdiffstats
path: root/include/elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/elf.h')
-rw-r--r--include/elf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/elf.h b/include/elf.h
index a749bec34e..ebcec7db0d 100644
--- a/include/elf.h
+++ b/include/elf.h
@@ -207,7 +207,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;