summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/main_mmove.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libmisc/shell/main_mmove.c')
-rw-r--r--cpukit/libmisc/shell/main_mmove.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/cpukit/libmisc/shell/main_mmove.c b/cpukit/libmisc/shell/main_mmove.c
index a319355444..0029882d62 100644
--- a/cpukit/libmisc/shell/main_mmove.c
+++ b/cpukit/libmisc/shell/main_mmove.c
@@ -1,9 +1,11 @@
+/**
+ * @file
+ *
+ * @brief MMOVE Shell Command Implmentation
+ */
+
/*
- * MMOVE Shell Command Implmentation
- *
- * Author: Fernando RUIZ CASAS
- * Work: fernando.ruiz@ctv.es
- * Home: correo@fernando-ruiz.com
+ * Copyright (c) 2001 Fernando Ruiz Casas <fruizcasas@gmail.com>
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
@@ -60,7 +62,7 @@ static int rtems_shell_main_mmove(
/*
* Now copy the memory.
*/
- memcpy(dst, src, length);
+ memmove(dst, src, length);
return 0;
}