mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
Kernel: Fix "sv" being inside of "no-fbdev" instead of outside
It was previously "no-fbdevsv" when it should be "no-fbdev"sv.
This commit is contained in:
parent
057cd35a6d
commit
01d7c1b722
Notes:
sideshowbarker
2024-07-18 16:57:09 +09:00
Author: https://github.com/Lubrsi
Commit: 01d7c1b722
Pull-request: https://github.com/SerenityOS/serenity/pull/7734
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ UNMAP_AFTER_INIT AHCIResetMode CommandLine::ahci_reset_mode() const
|
||||||
UNMAP_AFTER_INIT BootMode CommandLine::boot_mode() const
|
UNMAP_AFTER_INIT BootMode CommandLine::boot_mode() const
|
||||||
{
|
{
|
||||||
const auto boot_mode = lookup("boot_mode"sv).value_or("graphical"sv);
|
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;
|
return BootMode::NoFramebufferDevices;
|
||||||
} else if (boot_mode == "self-test"sv) {
|
} else if (boot_mode == "self-test"sv) {
|
||||||
return BootMode::SelfTest;
|
return BootMode::SelfTest;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue