diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-24 18:39:53 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-24 18:39:53 +0000 |
commit | c511ddc4690d94ca1895aca2ef59d3837a263234 (patch) | |
tree | 55b7eb6317d421a891f82ebbec36542cc97c8dd2 /apps/nshlib | |
parent | 9ed566465c0f31106e2e3fd3be2b33dd9489d3b0 (diff) | |
download | nuttx-c511ddc4690d94ca1895aca2ef59d3837a263234.tar.gz nuttx-c511ddc4690d94ca1895aca2ef59d3837a263234.tar.bz2 nuttx-c511ddc4690d94ca1895aca2ef59d3837a263234.zip |
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
Diffstat (limited to 'apps/nshlib')
-rw-r--r-- | apps/nshlib/nsh_ddcmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/nshlib/nsh_ddcmd.c b/apps/nshlib/nsh_ddcmd.c index 40a3710b1..e6ef2523c 100644 --- a/apps/nshlib/nsh_ddcmd.c +++ b/apps/nshlib/nsh_ddcmd.c @@ -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; |