Run all files modified by pr45 through nxstyle.

This commit is contained in:
Gregory Nutt
2020-02-03 07:35:37 -06:00
parent 37135e5dfe
commit 724a34bd3b
4 changed files with 74 additions and 62 deletions

View File

@@ -166,13 +166,13 @@ static int nsh_task(void)
ret = nsh_telnetstart(AF_UNSPEC);
if (ret < 0)
{
/* The daemon is NOT running. Report the error then fail...
* either with the serial console up or just exiting.
*/
/* The daemon is NOT running. Report the error then fail...
* either with the serial console up or just exiting.
*/
fprintf(stderr, "ERROR: Failed to start TELNET daemon: %d\n", ret);
exitval = 1;
}
fprintf(stderr, "ERROR: Failed to start TELNET daemon: %d\n", ret);
exitval = 1;
}
#endif
#ifdef CONFIG_NSH_CONSOLE
@@ -232,6 +232,7 @@ int main(int argc, FAR char *argv[])
{
return nsh_system(argc, argv);
}
else
#endif
{
return nsh_task();