Skip to contentSkip to conversation

ubiformat: correct "non-ubifs" warning message

PATCH Applied Brian Norris 2 participants 2 messages Mar 31, 2014 – Apr 7, 2014 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 ubi-utils/ubiformat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ubi-utils/ubiformat.c +1 -1
index 97a4eaba2591..1b8f6fb108a2 100644
@@ -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)
Signature · 1 line
1.8.3.2
#1 lore raw
Quoted 5 lines · Brian Norris

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.

Pushed to mtd-utils, thanks!

Signature · 2 lines
Best Regards,
Artem Bityutskiy