From 41f00102dfdab37013b40c25d7564bc1c6feaa22 Mon Sep 17 00:00:00 2001
From: Amelia Coutard <eliottulio.coutard@gmail.com>
Date: Sat, 7 May 2022 01:01:21 +0200
Subject: [PATCH] Changed "multiboot" to "multiboot2" in check for magic number
 in kernel.cpp

Only makes the error message more exact, no change in code behaviour.
---
 src/kernel.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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();
-- 
2.46.0