mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-09-14 14:40:26 +00:00
nsh/login: FIx error prompt length
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
parent
68fee5effb
commit
2e49d78400
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue