summary refs log tree commit diff stats
path: root/linux-user/i386/target_elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/i386/target_elf.h')
-rw-r--r--linux-user/i386/target_elf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/i386/target_elf.h b/linux-user/i386/target_elf.h
index c3caad68b9..eafac8f382 100644
--- a/linux-user/i386/target_elf.h
+++ b/linux-user/i386/target_elf.h
@@ -30,7 +30,7 @@ typedef struct target_elf_gregset_t {
 /*
  * This is used to ensure we don't load something for the wrong architecture.
  */
-#define elf_check_arch(x)       ((x) == EM_386 || (x) == EM_486)
+#define elf_check_machine(x)    ((x) == EM_386 || (x) == EM_486)
 
 /*
  * i386 is the only target which supplies AT_SYSINFO for the vdso.