From 2e91d07af94de6b6c20bf97ae7f0b69897134ac4 Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Mon, 8 Jun 1998 09:19:35 +0000 Subject: [PATCH] Fix a typo which prevented i386 elf from working at all (including Linux emulated elf binaries). --- sys/kern/imgact_elf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c index aabe534bb58e..58af554f21c1 100644 --- a/sys/kern/imgact_elf.c +++ b/sys/kern/imgact_elf.c @@ -26,7 +26,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: imgact_elf.c,v 1.24 1998/04/28 18:15:07 eivind Exp $ + * $Id: imgact_elf.c,v 1.25 1998/06/07 17:11:31 dfr Exp $ */ #include "opt_rlimit.h" @@ -157,7 +157,7 @@ elf_check_header(const Elf_Ehdr *hdr, int type) hdr->e_ident[EI_MAG3] == ELFMAG3)) return ENOEXEC; -#ifdef __i396__ +#ifdef __i386__ if (hdr->e_machine != EM_386 && hdr->e_machine != EM_486) #endif #ifdef __alpha__