diff options
author | Nishanth Menon <nm@ti.com> | 2015-12-04 22:02:11 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-12-12 23:56:10 +0300 |
commit | 8405b8d98a96233cc73969817367630ae7cc46b1 (patch) | |
tree | 9fdaf98705998acf00aeb4a69e441879b0d5baf0 /common | |
parent | 9d5108d8bedf1c95ce8841770eace3efd9848571 (diff) | |
download | u-boot-8405b8d98a96233cc73969817367630ae7cc46b1.tar.xz |
common: cli_hush: Fix up simple typo
Correct the spelling for character..
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r-- | common/cli_hush.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cli_hush.c b/common/cli_hush.c index 7f69c062a7..2fbfdbe89a 100644 --- a/common/cli_hush.c +++ b/common/cli_hush.c @@ -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); |