diff options
author | Roland McGrath <roland@gnu.org> | 2002-07-03 19:08:04 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-07-03 19:08:04 +0000 |
commit | 1cee232ca26f3be1584fa29369c0a04610fbbbe2 (patch) | |
tree | 905e32f87c1f3c6920e6ea32e1fe80f0ed7cb7d0 | |
parent | 326befddc3284037f66026acfb02fa2669ad330b (diff) |
2002-07-03 Roland McGrath <roland@frob.com>
* elf-load.c (exec_load): Fix typos in last change.
-rw-r--r-- | serverboot/elf-load.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) |