nshlib: Fix nxstyle warning

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2020-04-17 11:45:51 +08:00
committed by patacongo
parent de8a56d149
commit 650b58d6b2
13 changed files with 99 additions and 75 deletions

View File

@@ -65,7 +65,7 @@ int nsh_script(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
FAR char *pret;
int ret = ERROR;
/* The path to the script may be relative to the current working directory */
/* The path to the script may relative to the current working directory */
fullpath = nsh_getfullpath(vtbl, path);
if (!fullpath)
@@ -137,7 +137,7 @@ int nsh_script(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
if ((vtbl->np.np_flags & NSH_PFLAG_SILENT) == 0)
{
nsh_output(vtbl,"%s", buffer);
nsh_output(vtbl, "%s", buffer);
}
ret = nsh_parse(vtbl, buffer);