This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
commit 2e49d78400840770e896bf781b22913bd85257f1 Author: Huang Qi <[email protected]> AuthorDate: Fri Mar 3 14:17:50 2023 +0800 nsh/login: FIx error prompt length Signed-off-by: Huang Qi <[email protected]> --- nshlib/nsh_login.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nshlib/nsh_login.c b/nshlib/nsh_login.c index 82857c406..7edb9676b 100644 --- a/nshlib/nsh_login.c +++ b/nshlib/nsh_login.c @@ -238,7 +238,7 @@ int nsh_login(FAR struct console_stdio_s *pstate) /* Too many failed login attempts */ - write(OUTFD(pstate), g_loginfailure, strlen(g_loginsuccess)); + write(OUTFD(pstate), g_loginfailure, strlen(g_loginfailure)); return -1; }
