From 4523c71340569c87dad6936bb3dad241ac8aa724 Mon Sep 17 00:00:00 2001 From: zack leung Date: Wed, 14 Dec 2022 20:12:25 -0500 Subject: rtems_shell_main_mmove problem --0000000000006acec205efd38cd6 Content-Type: text/plain; charset="UTF-8" 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; } -- cgit v1.2.3