check for bml too
Change-Id: Iff062f439c0daa0ce768c3853fd7c290e75b8d3d
diff --git a/nandroid.c b/nandroid.c
index 45417fb..ca14622 100644
--- a/nandroid.c
+++ b/nandroid.c
@@ -110,6 +110,7 @@
char tmp[PATH_MAX];
int ret;
if (strcmp(vol->fs_type, "mtd") == 0 ||
+ strcmp(vol->fs_type, "bml") == 0 ||
strcmp(vol->fs_type, "emmc") == 0) {
const char* name = basename(root);
sprintf(tmp, "%s/%s.img", backup_path, name);
@@ -282,6 +283,7 @@
// see if we need a raw restore (mtd)
char tmp[PATH_MAX];
if (strcmp(vol->fs_type, "mtd") == 0 ||
+ strcmp(vol->fs_type, "bml") == 0 ||
strcmp(vol->fs_type, "emmc") == 0) {
int ret;
const char* name = basename(root);