nsh/login: FIx error prompt length
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
parent
68fee5effb
commit
2e49d78400
@ -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…
Reference in New Issue
Block a user