mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 19:44:35 +08:00
More improvements to the minimal NSH when there is no file system and when print fieldwidths are suppressed
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user