From 2d57b66a576109db6a0a538377b744c06ed47451 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Sun, 26 Apr 2009 08:11:58 +0300 Subject: libmtd: rename allows_bb field This is a preparation for the coming sysfs support. Signed-off-by: Artem Bityutskiy --- ubi-utils/src/ubiformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ubi-utils/src/ubiformat.c') diff --git a/ubi-utils/src/ubiformat.c b/ubi-utils/src/ubiformat.c index ac236f7..686c419 100644 --- a/ubi-utils/src/ubiformat.c +++ b/ubi-utils/src/ubiformat.c @@ -407,7 +407,7 @@ static int mark_bad(const struct mtd_dev_info *mtd, struct ubi_scan_info *si, in if (!args.quiet) printf("\n"); - if (!mtd->allows_bb) { + if (!mtd->bb_allowed) { if (!args.quiet) printf("\n"); return errmsg("bad blocks not supported by this flash"); -- cgit v1.2.3