Changes to NSH and readline to permit NSH to work on a platform with no file system

This commit is contained in:
Gregory Nutt
2013-09-30 11:34:04 -06:00
parent 59a89b687d
commit c4e46f5b62
16 changed files with 943 additions and 273 deletions

View File

@@ -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;
}