summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell
diff options
context:
space:
mode:
authorJonathan Brandmeyer <jbrandmeyer@planetiq.com>2019-03-01 11:21:34 -0700
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-03-08 07:39:42 +0100
commit2e8a66d13f04015c0024a084578f720ceb15ea00 (patch)
tree33ff8e27f6c256da5fb27b1e186679bf85cb5958 /cpukit/libmisc/shell
parentcpukit/arm: Correct register definition (diff)
downloadrtems-2e8a66d13f04015c0024a084578f720ceb15ea00.tar.bz2
shell: Correct argument order of `mfill`
Close #3720.
Diffstat (limited to 'cpukit/libmisc/shell')
-rw-r--r--cpukit/libmisc/shell/main_mfill.c2
1 files changed, 1 insertions, 1 deletions
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;
}