diff options
-rw-r--r-- | arch/x86/entry/vdso/vdso2c.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/entry/vdso/vdso2c.h b/arch/x86/entry/vdso/vdso2c.h index 4f741192846d..3dab75f2a673 100644 --- a/arch/x86/entry/vdso/vdso2c.h +++ b/arch/x86/entry/vdso/vdso2c.h | |||
@@ -22,7 +22,7 @@ static void BITSFUNC(go)(void *raw_addr, size_t raw_len, | |||
22 | 22 | ||
23 | ELF(Phdr) *pt = (ELF(Phdr) *)(raw_addr + GET_LE(&hdr->e_phoff)); | 23 | ELF(Phdr) *pt = (ELF(Phdr) *)(raw_addr + GET_LE(&hdr->e_phoff)); |
24 | 24 | ||
25 | if (hdr->e_type != ET_DYN) | 25 | if (GET_LE(&hdr->e_type) != ET_DYN) |
26 | fail("input is not a shared object\n"); | 26 | fail("input is not a shared object\n"); |
27 | 27 | ||
28 | /* Walk the segment table. */ | 28 | /* Walk the segment table. */ |