Patchwork [U-Boot] cmd_mtdparts.c: Correct "reseting" to "resetting" in error msgs

login
register
mail settings
Submitter Robert P. J. Day
Date Feb. 4, 2013, 11:51 p.m.
Message ID <alpine.DEB.2.02.1302041849500.3483@oneiric>
Download mbox | patch
Permalink /patch/218121/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Robert P. J. Day - Feb. 4, 2013, 11:51 p.m.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

---

Patch

diff --git a/common/cmd_mtdparts.c b/common/cmd_mtdparts.c
index 06fc171..7398371 100644
--- a/common/cmd_mtdparts.c
+++ b/common/cmd_mtdparts.c
@@ -1422,7 +1422,7 @@  static int delete_partition(const char *id)
 			return 1;

 		if (generate_mtdparts_save(last_parts, MTDPARTS_MAXLEN) != 0) {
-			printf("generated mtdparts too long, reseting to null\n");
+			printf("generated mtdparts too long, resetting to null\n");
 			return 1;
 		}
 		return 0;
@@ -1520,7 +1520,7 @@  static int spread_partitions(void)
 	index_partitions();

 	if (generate_mtdparts_save(last_parts, MTDPARTS_MAXLEN) != 0) {
-		printf("generated mtdparts too long, reseting to null\n");
+		printf("generated mtdparts too long, resetting to null\n");
 		return 1;
 	}
 	return 0;
@@ -2018,7 +2018,7 @@  static int do_mtdparts(cmd_tbl_t *cmdtp, int flag, int argc,
 		}

 		if (generate_mtdparts_save(last_parts, MTDPARTS_MAXLEN) != 0) {
-			printf("generated mtdparts too long, reseting to null\n");
+			printf("generated mtdparts too long, resetting to null\n");
 			return 1;
 		}