From 7d532c5d84fc86cccc6c76ba8f85cc511134930a Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Sat, 3 May 2008 14:18:01 +0400 Subject: [PATCH] --- yaml --- r: 95989 b: refs/heads/master c: ecb783eae1372d69a53d406e1bdba8284e4bafcc h: refs/heads/master i: 95987: 75881d8352524321ce35032c6b55e164d04fbdb9 v: v3 --- [refs] | 2 +- trunk/arch/x86/vdso/vdso32-setup.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index baf10aa11e5b..94412b9f11b1 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 163ea310b68bdde89b1ac633fbf8c0db290d3f86 +refs/heads/master: ecb783eae1372d69a53d406e1bdba8284e4bafcc diff --git a/trunk/arch/x86/vdso/vdso32-setup.c b/trunk/arch/x86/vdso/vdso32-setup.c index 4dceeb1fc5e0..cf058fecfcee 100644 --- a/trunk/arch/x86/vdso/vdso32-setup.c +++ b/trunk/arch/x86/vdso/vdso32-setup.c @@ -162,7 +162,7 @@ static __init void relocate_vdso(Elf32_Ehdr *ehdr) Elf32_Shdr *shdr; int i; - BUG_ON(memcmp(ehdr->e_ident, ELFMAG, 4) != 0 || + BUG_ON(memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0 || !elf_check_arch_ia32(ehdr) || ehdr->e_type != ET_DYN);