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:
patacongo 2013-01-24 18:39:53 +00:00
parent 7dda31ce55
commit 0cefd784cf

View File

@ -545,7 +545,7 @@ int cmd_dd(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
}
#endif
if (dd.skip < 0 || dd.skip > dd.nsectors)
if (dd.skip > dd.nsectors)
{
nsh_output(vtbl, g_fmtarginvalid, g_dd);
goto errout_with_paths;