summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzack leung <zakthertemsdev@gmail.com>2022-12-14 20:12:25 -0500
committerJoel Sherrill <joel@rtems.org>2022-12-23 13:10:39 -0600
commit4523c71340569c87dad6936bb3dad241ac8aa724 (patch)
treece55d352b8ca2f4d1d4d4d0f645604c94f062af1
parentbsps: Import Xilinx NAND driver (diff)
downloadrtems-4523c71340569c87dad6936bb3dad241ac8aa724.tar.bz2
rtems_shell_main_mmove problem
--0000000000006acec205efd38cd6 Content-Type: text/plain; charset="UTF-8" Closes #4556
-rw-r--r--cpukit/libmisc/shell/main_mmove.c2
1 files changed, 1 insertions, 1 deletions
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;
}