mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-18 08:52:01 +08:00
Changes to NSH and readline to permit NSH to work on a platform with no file system
This commit is contained in:
@@ -94,7 +94,7 @@
|
||||
*
|
||||
* Returned Values:
|
||||
* EXIT_SUCESS or EXIT_FAILURE is returned.
|
||||
*
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
int nsh_session(FAR struct console_stdio_s *pstate)
|
||||
@@ -150,7 +150,7 @@ int nsh_session(FAR struct console_stdio_s *pstate)
|
||||
|
||||
else
|
||||
{
|
||||
fprintf(pstate->cn_outstream, g_fmtcmdfailed, "nsh_session",
|
||||
fprintf(pstate->cn_outstream, g_fmtcmdfailed, "nsh_session",
|
||||
"readline", NSH_ERRNO_OF(-ret));
|
||||
return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user