mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-20 21:41:18 +08:00
nshlib/: Fix missing semicolon; include string.h.
This commit is contained in:

committed by
Gregory Nutt

parent
5840625201
commit
e832e73b99
@@ -42,6 +42,7 @@
|
|||||||
#include <sys/boardctl.h>
|
#include <sys/boardctl.h>
|
||||||
#include <sys/utsname.h>
|
#include <sys/utsname.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#include "nsh.h"
|
#include "nsh.h"
|
||||||
@@ -143,7 +144,7 @@ int cmd_shutdown(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
|
|||||||
if (strcmp(argv[1], "--reboot") != 0)
|
if (strcmp(argv[1], "--reboot") != 0)
|
||||||
{
|
{
|
||||||
nsh_output(vtbl, g_fmtarginvalid, argv[0]);
|
nsh_output(vtbl, g_fmtarginvalid, argv[0]);
|
||||||
return ERROR
|
return ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Invoke the BOARDIOC_RESET board control to reset the board. If
|
/* Invoke the BOARDIOC_RESET board control to reset the board. If
|
||||||
|
Reference in New Issue
Block a user