diff --git a/init/init_first_stage.cpp b/init/init_first_stage.cpp index a5ba6473a..22217405c 100644 --- a/init/init_first_stage.cpp +++ b/init/init_first_stage.cpp @@ -123,7 +123,7 @@ static inline bool IsDmLinearEnabled() { bool enabled = false; import_kernel_cmdline( false, [&enabled](const std::string& key, const std::string& value, bool in_qemu) { - if (key == "androidboot.lrap" && value == "1") { + if (key == "androidboot.logical_partitions" && value == "1") { enabled = true; } });