Merge tag 'for-linus-20170510' of git://git.infradead.org/linux-mtd
[linux-2.6-microblaze.git] / drivers / mtd / nand / nandsim.c
index 092c9bd..03a0d05 100644 (file)
@@ -902,7 +902,7 @@ static int parse_weakpages(void)
                zero_ok = (*w == '0' ? 1 : 0);
                page_no = simple_strtoul(w, &w, 0);
                if (!zero_ok && !page_no) {
-                       NS_ERR("invalid weakpagess.\n");
+                       NS_ERR("invalid weakpages.\n");
                        return -EINVAL;
                }
                max_writes = 3;