From: Colin Ian King <[email protected]>

There is a spelling mistake in a NS_ERR error message. Fix it.

Signed-off-by: Colin Ian King <[email protected]>
---
 drivers/mtd/nand/raw/nandsim.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/raw/nandsim.c b/drivers/mtd/nand/raw/nandsim.c
index 9a70754a61ef..76c31d1dea31 100644
--- a/drivers/mtd/nand/raw/nandsim.c
+++ b/drivers/mtd/nand/raw/nandsim.c
@@ -910,7 +910,7 @@ static int parse_gravepages(void)
                zero_ok = (*g == '0' ? 1 : 0);
                page_no = simple_strtoul(g, &g, 0);
                if (!zero_ok && !page_no) {
-                       NS_ERR("invalid gravepagess.\n");
+                       NS_ERR("invalid gravepages.\n");
                        return -EINVAL;
                }
                max_reads = 3;
-- 
2.20.1

Reply via email to