mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-20 12:55:43 +08:00
Add psock_poll(); Fix some warnings reported by Lorenz Meier; lm4f logic from JP
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5557 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -545,7 +545,7 @@ int cmd_dd(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (dd.skip < 0 || dd.skip > dd.nsectors)
|
if (dd.skip > dd.nsectors)
|
||||||
{
|
{
|
||||||
nsh_output(vtbl, g_fmtarginvalid, g_dd);
|
nsh_output(vtbl, g_fmtarginvalid, g_dd);
|
||||||
goto errout_with_paths;
|
goto errout_with_paths;
|
||||||
|
Reference in New Issue
Block a user