diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-04-26 08:11:58 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-05-08 19:07:26 +0300 |
commit | 2d57b66a576109db6a0a538377b744c06ed47451 (patch) | |
tree | 6a48b3d39613b3ce5d2e1ebfd9752b4a41e1f522 /ubi-utils/src/ubiformat.c | |
parent | 977c750a28c1a6fdf80ff2908765f2cab99740c6 (diff) |
libmtd: rename allows_bb field
This is a preparation for the coming sysfs support.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/src/ubiformat.c')
-rw-r--r-- | ubi-utils/src/ubiformat.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |