From a5a69142e8a17d5d1a5d605bae623add731e153e Mon Sep 17 00:00:00 2001 From: Roland McGrath <roland@gnu.org> Date: Wed, 3 Jul 2002 19:08:04 +0000 Subject: 2002-07-03 Roland McGrath <roland@frob.com> * elf-load.c (exec_load): Fix typos in last change. --- serverboot/elf-load.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'serverboot') diff --git a/serverboot/elf-load.c b/serverboot/elf-load.c index af11635e..5de838c3 100644 --- a/serverboot/elf-load.c +++ b/serverboot/elf-load.c @@ -60,9 +60,9 @@ int exec_load(exec_read_func_t *read, exec_read_exec_func_t *read_exec, #error Not ported to this architecture! #endif - if ((x.h.e_ident[EI_CLASS] != ELFCLASS64) || - (x.h.e_ident[EI_DATA] != ELFDATA2LSB) || - (x.h.e_machine != EM_ALPHA)) + if ((x.h.e_ident[EI_CLASS] != MY_CLASS) || + (x.h.e_ident[EI_DATA] != MY_DATA) || + (x.h.e_machine != MY_MACHINE)) return EX_WRONG_ARCH; if (MY_CLASS == ELFCLASS64) -- cgit v1.2.3