summaryrefslogtreecommitdiff
path: root/laden
diff options
context:
space:
mode:
authormarcus <marcus>2003-09-25 13:46:39 +0000
committermarcus <marcus>2003-09-25 13:46:39 +0000
commit9f6b84e8ae6b7e1358d6f0274aefb13b4b714696 (patch)
tree864a9c11a283807fd9734432550cc8ecc14ca2fe /laden
parentc174c46327a32f3d5160bdae5f7a5f35f053c907 (diff)
Fix typo.
Diffstat (limited to 'laden')
-rw-r--r--laden/loader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/laden/loader.c b/laden/loader.c
index 91df2d8..2634bff 100644
--- a/laden/loader.c
+++ b/laden/loader.c
@@ -189,9 +189,9 @@ loader_elf_load (const char *name, l4_word_t start, l4_word_t end,
/* FIXME: Some architectures support both word sizes. */
if (!((elf->e_ident[EI_CLASS] == ELFCLASS32
- && L4_WORD_SIZE == 32)
+ && L4_WORDSIZE == 32)
|| (elf->e_ident[EI_CLASS] == ELFCLASS64
- && L4_WORD_SIZE == 64)))
+ && L4_WORDSIZE == 64)))
panic ("%s has invalid word size", name);
if (!((elf->e_ident[EI_DATA] == ELFDATA2LSB
&& L4_BYTE_ORDER == L4_LITTLE_ENDIAN)