diff mbox

ubiformat: correct "non-ubifs" warning message

Message ID 1396285384-1757-1-git-send-email-computersforpeace@gmail.com
State Accepted
Commit a9de8952104dcdf48858b9927c33a5f41a28568c
Headers show

Commit Message

Brian Norris March 31, 2014, 5:03 p.m. UTC
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>
---
 ubi-utils/ubiformat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Artem Bityutskiy April 7, 2014, 10:45 a.m. UTC | #1
On Mon, 2014-03-31 at 10:03 -0700, Brian Norris wrote:
> 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>

Pushed to mtd-utils, thanks!
diff mbox

Patch

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)