From: Amelia Coutard <eliottulio.coutard@gmail.com>
Date: Fri, 6 May 2022 23:01:21 +0000 (+0200)
Subject: Changed "multiboot" to "multiboot2" in check for magic number in kernel.cpp
X-Git-Url: https://git.ameliathe1st.gay/?a=commitdiff_plain;h=41f00102dfdab37013b40c25d7564bc1c6feaa22;p=voyage-au-centre-des-fichiers.git

Changed "multiboot" to "multiboot2" in check for magic number in kernel.cpp

Only makes the error message more exact, no change in code behaviour.
---

diff --git a/src/kernel.cpp b/src/kernel.cpp
index 1f056e4..bda3d4f 100644
--- a/src/kernel.cpp
+++ b/src/kernel.cpp
@@ -5,7 +5,7 @@
 #include "serial.hpp"
 
 extern "C" void kmain(unsigned long magic, os::phys_ptr<const multiboot2::info_start> info) {
-	os::assert(magic == 0x36D76289, "Incorrect magic number: wasn't booted with multiboot.");
+	os::assert(magic == 0x36D76289, "Incorrect magic number: wasn't booted with multiboot2.");
 
 	if (!os::init_serial_port()) {
 		os::halt();