diff mbox

common: cli_hush: Fix up simple typo

Message ID 1449255731-24647-1-git-send-email-nm@ti.com
State Accepted
Commit 8405b8d98a96233cc73969817367630ae7cc46b1
Headers show

Commit Message

Nishanth Menon Dec. 4, 2015, 7:02 p.m. UTC
Correct the spelling for character..

Signed-off-by: Nishanth Menon <nm@ti.com>

---

 common/cli_hush.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.6.2.402.g2635c2b

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
diff mbox

Patch

diff --git a/common/cli_hush.c b/common/cli_hush.c
index a7cac4fcb9df..5a26af80c758 100644
--- a/common/cli_hush.c
+++ b/common/cli_hush.c
@@ -3503,9 +3503,9 @@  static char *insert_var_value_sub(char *inp, int tag_subst)
 	char *p, *p1, *res_str = NULL;
 
 	while ((p = strchr(inp, SPECIAL_VAR_SYMBOL))) {
-		/* check the beginning of the string for normal charachters */
+		/* check the beginning of the string for normal characters */
 		if (p != inp) {
-			/* copy any charachters to the result string */
+			/* copy any characters to the result string */
 			len = p - inp;
 			res_str = xrealloc(res_str, (res_str_len + len));
 			strncpy((res_str + res_str_len), inp, len);