diff --git a/ChangeLog.txt b/ChangeLog.txt index e54f04075..7cbdee3b3 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -529,3 +529,6 @@ * apps/examples/ostest: In the non-cancelable thread test, we need to give the thread an opportunity to run and to set the non- cancelable state. + * apps/nshlib/nsh_ddcmd.c: Correct the test of the skip input + parameter. Was limiting the range to <= count. From Ken + Petit (2014-4-24). diff --git a/nshlib/nsh_ddcmd.c b/nshlib/nsh_ddcmd.c index e6ef2523c..83e5441b7 100644 --- a/nshlib/nsh_ddcmd.c +++ b/nshlib/nsh_ddcmd.c @@ -545,12 +545,6 @@ int cmd_dd(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv) } #endif - if (dd.skip > dd.nsectors) - { - nsh_output(vtbl, g_fmtarginvalid, g_dd); - goto errout_with_paths; - } - /* Allocate the I/O buffer */ dd.buffer = malloc(dd.sectsize);