blob: 28b1ef97c7f02c63e48b71da6d836e7a71639a41 [file] [log] [blame]
the part array is declared as part[2], so trying to index [2] isn't going to work
--- a/src/mtd.c
+++ b/src/mtd.c
@@ -786,7 +786,7 @@
mp->ecc = 1;
}
- if (md->part[1].fd >= 0 && md->part[2].fd >=0)
+ if (md->part[1].fd >= 0)
md->flags |= F_MULTICHIP;
/* if a second partition has been opened, verify that are compatible */