[PATCH] shell: Correct argument order of `mfill`

Gedare Bloom gedare at rtems.org
Thu Mar 14 13:59:05 UTC 2019


Thank you Jonathan patches applied and tickets have closed properly.


On Tue, Mar 12, 2019 at 11:12 PM Jonathan Brandmeyer <
jbrandmeyer at planetiq.com> wrote:

> I apologize for the vagueness - It isn't clear which one is supposed
> to go against which branch.  The only distinguishing feature is the
> affected ticket number.  ticket 3723 is against the 4.10 branch, while
> 3722 is against the 4.11 branch.
>
> On Tue, Mar 12, 2019 at 9:04 PM Jonathan Brandmeyer
> <jbrandmeyer at planetiq.com> wrote:
> >
> > Close #3722.
> >
> > (cherry picked from commit 2e8a66d13f04015c0024a084578f720ceb15ea00)
> > ---
> >  cpukit/libmisc/shell/main_mfill.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/cpukit/libmisc/shell/main_mfill.c
> b/cpukit/libmisc/shell/main_mfill.c
> > index d8e2fcf74c..47a55d3a2f 100644
> > --- a/cpukit/libmisc/shell/main_mfill.c
> > +++ b/cpukit/libmisc/shell/main_mfill.c
> > @@ -60,7 +60,7 @@ static int rtems_shell_main_mfill(
> >    /*
> >     *  Now fill the memory.
> >     */
> > -  memset(addr, size, value);
> > +  memset(addr, value, size);
> >
> >    return 0;
> >  }
> > --
> > 2.11.0
> >
>
>
> --
> Jonathan Brandmeyer
> Engineering Director
> PlanetiQ
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190314/5f103402/attachment-0002.html>


More information about the devel mailing list