mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 19:44:35 +08:00
nshlib: Fix nxstyle warning
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user