]> git.sur5r.net Git - u-boot/commitdiff
common: cli_hush: Fix up simple typo
authorNishanth Menon <nm@ti.com>
Fri, 4 Dec 2015 19:02:11 +0000 (13:02 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 12 Dec 2015 20:56:10 +0000 (15:56 -0500)
Correct the spelling for character..

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/cli_hush.c

index 7f69c062a7ae04151f6d9a36bb424920a5ebd7dd..2fbfdbe89a9c7cd93fb4df19208ebe3afacf63f0 100644 (file)
@@ -3508,9 +3508,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);