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 | a5a69142e8a17d5d1a5d605bae623add731e153e (patch) | |
tree | 6183bd1c0c0220cfb6023137cb37b1bb9d64d49c /serverboot/elf-load.c | |
parent | 0100a6e5bea180aa938ad618d7ed853dd0b7ed10 (diff) |
2002-07-03 Roland McGrath <roland@frob.com>
* elf-load.c (exec_load): Fix typos in last change.
Diffstat (limited to 'serverboot/elf-load.c')
-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) |