[PATCH] ubiformat: correct "non-ubifs" warning message
Brian Norris
computersforpeace at gmail.com
Mon Mar 31 13:03:04 EDT 2014
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 at gmail.com>
---
ubi-utils/ubiformat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ubi-utils/ubiformat.c b/ubi-utils/ubiformat.c
index 97a4eaba2591..1b8f6fb108a2 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)
--
1.8.3.2
More information about the linux-mtd
mailing list