Skip to content

Commit

Permalink
Kernel: Fix "sv" being inside of "no-fbdev" instead of outside
Browse files Browse the repository at this point in the history
It was previously "no-fbdevsv" when it should be "no-fbdev"sv.
  • Loading branch information
Lubrsi authored and awesomekling committed Jun 3, 2021
1 parent 057cd35 commit 01d7c1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Kernel/CommandLine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 01d7c1b

Please sign in to comment.