[PATCH] rtems_shell_main_mmove problem

zack leung zakthertemsdev at gmail.com
Fri Dec 23 00:56:20 UTC 2022


Bump

On Wed, 14 Dec 2022 at 20:12, zack leung <zakthertemsdev at gmail.com> wrote:

> Closes #4556
> ---
>  cpukit/libmisc/shell/main_mmove.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/cpukit/libmisc/shell/main_mmove.c
> b/cpukit/libmisc/shell/main_mmove.c
> index 38731b10a2..0029882d62 100644
> --- a/cpukit/libmisc/shell/main_mmove.c
> +++ b/cpukit/libmisc/shell/main_mmove.c
> @@ -62,7 +62,7 @@ static int rtems_shell_main_mmove(
>    /*
>     *  Now copy the memory.
>     */
> -  memcpy(dst, src, length);
> +  memmove(dst, src, length);
>
>   return 0;
>  }
> --
> 2.38.1
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20221222/9acbe345/attachment.htm>


More information about the devel mailing list