Explorar o código

Kernel: Fix "sv" being inside of "no-fbdev" instead of outside

It was previously "no-fbdevsv" when it should be "no-fbdev"sv.
Luke %!s(int64=4) %!d(string=hai) anos
pai
achega
01d7c1b722
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Kernel/CommandLine.cpp

+ 1 - 1
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;