[PATCH] shell: Correct argument order of `mfill`
Jonathan Brandmeyer
jbrandmeyer at planetiq.com
Wed Mar 13 03:11:55 UTC 2019
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
More information about the devel
mailing list