]> git.ameliathe1st.gay Git - voyage-au-centre-des-fichiers.git/commitdiff
Changed "multiboot" to "multiboot2" in check for magic number in kernel.cpp
authorAmelia Coutard <eliottulio.coutard@gmail.com>
Fri, 6 May 2022 23:01:21 +0000 (01:01 +0200)
committerAmelia Coutard <eliottulio.coutard@gmail.com>
Fri, 6 May 2022 23:01:21 +0000 (01:01 +0200)
Only makes the error message more exact, no change in code behaviour.

src/kernel.cpp

index 1f056e4d95a0464b8a141b72336e8356d74e26fb..bda3d4f7eb4b7f443b0ea0edeec41ca46d1f6733 100644 (file)
@@ -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();