Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/x86 Fix typo when erroring out on unknown ELF m...



details:   https://anonhg.NetBSD.org/src/rev/bab1de6fff3d
branches:  trunk
changeset: 988209:bab1de6fff3d
user:      fcambus <fcambus%NetBSD.org@localhost>
date:      Sun Oct 03 18:47:16 2021 +0000

description:
Fix typo when erroring out on unknown ELF machine type.

diffstat:

 sys/arch/x86/x86/multiboot2.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d7abd7345833 -r bab1de6fff3d sys/arch/x86/x86/multiboot2.c
--- a/sys/arch/x86/x86/multiboot2.c     Sun Oct 03 18:44:51 2021 +0000
+++ b/sys/arch/x86/x86/multiboot2.c     Sun Oct 03 18:47:16 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: multiboot2.c,v 1.6 2020/06/25 17:24:31 jdolecek Exp $  */
+/*     $NetBSD: multiboot2.c,v 1.7 2021/10/03 18:47:16 fcambus Exp $   */
 
 /*-
  * Copyright (c) 2005, 2006 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: multiboot2.c,v 1.6 2020/06/25 17:24:31 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: multiboot2.c,v 1.7 2021/10/03 18:47:16 fcambus Exp $");
 
 #include "opt_multiboot.h"
 
@@ -1054,7 +1054,7 @@
 #elif __i386__
        ehdr.e_machine = EM_386;
 #else
-       #error "Unknwo ELF machine type"
+       #error "Unknown ELF machine type"
 #endif
        ehdr.e_version = 1;
        ehdr.e_entry = (Elf_Addr)&start;



Home | Main Index | Thread Index | Old Index