summaryrefslogtreecommitdiff
path: root/Kernel/CommandLine.cpp
diff options
context:
space:
mode:
authorLuke <luke.wilde@live.co.uk>2021-06-03 16:02:56 +0100
committerAndreas Kling <kling@serenityos.org>2021-06-03 17:08:06 +0200
commit01d7c1b7229acf33daf1570d45be4297f0788c03 (patch)
tree64c59415c62c19425c44956233d53658212481f7 /Kernel/CommandLine.cpp
parent057cd35a6d97ef08e041120357c4d7647f191ac3 (diff)
downloadserenity-01d7c1b7229acf33daf1570d45be4297f0788c03.zip
Kernel: Fix "sv" being inside of "no-fbdev" instead of outside
It was previously "no-fbdevsv" when it should be "no-fbdev"sv.
Diffstat (limited to 'Kernel/CommandLine.cpp')
-rw-r--r--Kernel/CommandLine.cpp2
1 files changed, 1 insertions, 1 deletions
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;