Skip to content

Commit

Permalink
UBI: fix typo in a message
Browse files Browse the repository at this point in the history
When a PEB passes the torture test, UBI prints
"do not mark it a bad", but should print "do not mark it as bad".
This patch corrects the typo.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
  • Loading branch information
Artem Bityutskiy authored and Artem Bityutskiy committed Apr 14, 2011
1 parent feddbb3 commit 1426414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/ubi/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1426414

Please sign in to comment.