diff --git a/src/gui/hdd_menu.cpp b/src/gui/hdd_menu.cpp index 0e2f2ea08..12a4ae7a3 100644 --- a/src/gui/hdd_menu.cpp +++ b/src/gui/hdd_menu.cpp @@ -231,7 +231,7 @@ void CHDDMenuHandler::getBlkIds() std::string CHDDMenuHandler::getDefaultPart(std::string dev) { std::string part = "1"; - if (dev == "mmcblk0") + if (strncmp(dev.c_str(), "mmcblk", 6) == 0) part = "p1"; return part; }