[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
patch: fix some typos
From: |
Johan Rydberg |
Subject: |
patch: fix some typos |
Date: |
Thu, 25 Sep 2003 15:08:06 +0200 |
Hi,
The last commit to loaden.c introduced some errors. This fixes
one of them.
2003-09-25 Johan Rydberg <address@hidden>
* loader.c (loader_elf_load): Use L4_WORDSIZE instead
of L4_WORD_SIZE.
Index: loader.c
===================================================================
RCS file: /cvsroot/hurd/hurd-l4/laden/loader.c,v
retrieving revision 1.10
diff -u -p -r1.10 loader.c
--- loader.c 25 Sep 2003 12:39:20 -0000 1.10
+++ loader.c 25 Sep 2003 13:04:02 -0000
@@ -189,9 +189,9 @@ loader_elf_load (const char *name, l4_wo
/* 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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- patch: fix some typos,
Johan Rydberg <=