Patchwork UBI: fix typo in a message

login
register
mail settings
Submitter Atlant Schmidt
Date April 14, 2011, 10:32 a.m.
Message ID <0A40042D85E7C84DB443060EC44B3FD328119F6E86@dekaexchange07.deka.local>
Download mbox | patch
Permalink /patch/91208/
State New
Headers show

Comments

Artem Bityutskiy - April 14, 2011, 10:32 a.m.
On Thu, 2011-04-14 at 06:32 -0400, Atlant Schmidt wrote:
> Artem:
> 
> > but should print "do not mark it sa bad".
> 
>   Well, hopfully:
> 
>   "do not mark it as bad".

Hehe :-) I have bad luck with this phrase! I'll fix the commit message,
thanks.
Atlant Schmidt - April 14, 2011, 10:32 a.m.
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@lists.infradead.org [mailto:linux-mtd-bounces@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@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@nokia.com>
---
 drivers/mtd/ubi/io.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

--
1.7.2.3

Patch

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);