[PATCH] UBI: fix typo in a message

Atlant Schmidt aschmidt at dekaresearch.com
Thu Apr 14 06:32:31 EDT 2011


Artem:

> but should print "do not mark it sa bad".

  Well, hopfully:

  "do not mark it as bad".
                  ==
                       Atlant


-----Original Message-----
From: linux-mtd-bounces at lists.infradead.org [mailto:linux-mtd-bounces at lists.infradead.org] On Behalf Of Artem Bityutskiy
Sent: Thursday, April 14, 2011 04:38
To: MTD list
Subject: [PATCH] UBI: fix typo in a message

From: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>

When a PEB passes the torture test, UBI prints
"do not mark it a bad", but should print "do not mark it sa bad".
This patch corrects the typo.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
---
 drivers/mtd/ubi/io.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/ubi/io.c b/drivers/mtd/ubi/io.c
index d58ceb1..8c1b1c7 100644
--- a/drivers/mtd/ubi/io.c
+++ b/drivers/mtd/ubi/io.c
@@ -465,7 +465,7 @@ static int torture_peb(struct ubi_device *ubi, int pnum)
        }

        err = patt_count;
-       ubi_msg("PEB %d passed torture test, do not mark it a bad", pnum);
+       ubi_msg("PEB %d passed torture test, do not mark it as bad", pnum);

 out:
        mutex_unlock(&ubi->buf_mutex);
--
1.7.2.3


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

This e-mail and the information, including any attachments, it contains are intended to be a confidential communication only to the person or entity to whom it is addressed and may contain information that is privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the sender and destroy the original message.

Thank you.

Please consider the environment before printing this email.



More information about the linux-mtd mailing list