From 01d7c1b7229acf33daf1570d45be4297f0788c03 Mon Sep 17 00:00:00 2001 From: Luke Date: Thu, 3 Jun 2021 16:02:56 +0100 Subject: [PATCH] Kernel: Fix "sv" being inside of "no-fbdev" instead of outside It was previously "no-fbdevsv" when it should be "no-fbdev"sv. --- Kernel/CommandLine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/CommandLine.cpp b/Kernel/CommandLine.cpp index f9241c0a9f..0391f93939 100644 --- a/Kernel/CommandLine.cpp +++ b/Kernel/CommandLine.cpp @@ -188,7 +188,7 @@ UNMAP_AFTER_INIT AHCIResetMode CommandLine::ahci_reset_mode() const UNMAP_AFTER_INIT BootMode CommandLine::boot_mode() const { const auto boot_mode = lookup("boot_mode"sv).value_or("graphical"sv); - if (boot_mode == "no-fbdevsv") { + if (boot_mode == "no-fbdev"sv) { return BootMode::NoFramebufferDevices; } else if (boot_mode == "self-test"sv) { return BootMode::SelfTest;