More improvements to the minimal NSH when there is no file system and when print fieldwidths are suppressed

This commit is contained in:
Gregory Nutt
2013-10-01 11:52:35 -06:00
parent 749eb6a027
commit f6e948fa04
4 changed files with 38 additions and 4 deletions

View File

@@ -174,7 +174,12 @@ int nsh_main(int argc, char *argv[])
* is wrong.
*/
#if CONFIG_NFILE_DESCRIPTORS > 0
fprintf(stderr, "ERROR: nsh_consolemain() returned: %d\n", ret);
#else
printf("ERROR: nsh_consolemain() returned: %d\n", ret);
#endif
exitval = 1;
#endif