Module Name:    src
Committed By:   fcambus
Date:           Sun Oct  3 18:47:16 UTC 2021

Modified Files:
        src/sys/arch/x86/x86: multiboot2.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/x86/x86/multiboot2.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x86/x86/multiboot2.c
diff -u src/sys/arch/x86/x86/multiboot2.c:1.6 src/sys/arch/x86/x86/multiboot2.c:1.7
--- src/sys/arch/x86/x86/multiboot2.c:1.6	Thu Jun 25 17:24:31 2020
+++ src/sys/arch/x86/x86/multiboot2.c	Sun Oct  3 18:47:16 2021
@@ -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 @@ multiboot2_ksyms_addsyms_elf(void)
 #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;

Reply via email to