nshlib/: Fix missing semicolon; include string.h.

This commit is contained in:
Aleksandr Vyhovanec 2016-09-05 07:05:17 -06:00 committed by Gregory Nutt
parent 5840625201
commit e832e73b99

View File

@ -42,6 +42,7 @@
#include <sys/boardctl.h>
#include <sys/utsname.h>
#include <stdlib.h>
#include <string.h>
#include <errno.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)
{
nsh_output(vtbl, g_fmtarginvalid, argv[0]);
return ERROR
return ERROR;
}
/* Invoke the BOARDIOC_RESET board control to reset the board. If