diff options
author | Luke <luke.wilde@live.co.uk> | 2021-06-03 16:02:56 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-03 17:08:06 +0200 |
commit | 01d7c1b7229acf33daf1570d45be4297f0788c03 (patch) | |
tree | 64c59415c62c19425c44956233d53658212481f7 /Kernel/CommandLine.cpp | |
parent | 057cd35a6d97ef08e041120357c4d7647f191ac3 (diff) | |
download | serenity-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.cpp | 2 |
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; |