]> www.infradead.org Git - mtd-utils.git/commitdiff
ubiformat: correct "non-ubifs" warning message
authorBrian Norris <computersforpeace@gmail.com>
Mon, 31 Mar 2014 17:03:04 +0000 (10:03 -0700)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 7 Apr 2014 10:44:47 +0000 (13:44 +0300)
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 <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
ubi-utils/ubiformat.c

index 97a4eaba2591d5cc288654a2c6c0c68502878292..1b8f6fb108a283dea380d7bf355c2b7be5e198b1 100644 (file)
@@ -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)