From: Brian Norris Date: Mon, 31 Mar 2014 17:03:04 +0000 (-0700) Subject: ubiformat: correct "non-ubifs" warning message X-Git-Tag: v1.5.1~1 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=a9de8952104dcdf48858b9927c33a5f41a28568c;p=mtd-utils.git ubiformat: correct "non-ubifs" warning message UBI's raw flash scan actually scans for UBI data, not UBIFS data (there *are* UBI users that are not UBIFS!), so correct the warning message. This also matches the comment in libscan.h. Signed-off-by: Brian Norris Signed-off-by: Artem Bityutskiy --- diff --git a/ubi-utils/ubiformat.c b/ubi-utils/ubiformat.c index 97a4eab..1b8f6fb 100644 --- a/ubi-utils/ubiformat.c +++ b/ubi-utils/ubiformat.c @@ -834,7 +834,7 @@ int main(int argc, char * const argv[]) if (si->alien_cnt) { if (!args.yes || !args.quiet) - warnmsg("%d of %d eraseblocks contain non-ubifs data", + warnmsg("%d of %d eraseblocks contain non-UBI data", si->alien_cnt, si->good_cnt); if (!args.yes && want_exit()) { if (args.yes && !args.quiet)