Message ID | 1449255731-24647-1-git-send-email-nm@ti.com |
---|---|
State | Accepted |
Delegated to: | Tom Rini |
Headers | show |
On 4 December 2015 at 12:02, Nishanth Menon <nm@ti.com> wrote: > 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(-) Reviewed-by: Simon Glass <sjg@chromium.org>
On Fri, Dec 04, 2015 at 01:02:11PM -0600, Nishanth Menon wrote: > Correct the spelling for character.. > > Signed-off-by: Nishanth Menon <nm@ti.com> > Reviewed-by: Simon Glass <sjg@chromium.org> Applied to u-boot/master, thanks!
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);
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(-)