summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJonathan Brandmeyer <jbrandmeyer@planetiq.com>2019-03-12 21:04:27 -0600
committerGedare Bloom <gedare@rtems.org>2019-03-14 09:57:40 -0400
commit33c82ddba1856df8b06a9363b671ee6f7856ece3 (patch)
tree6b7b7802a15e2482af366b1b8c2d657c317bf7f7 /cpukit
parentscore: Fix ISR enable in _Thread_Dispatch_enable() (diff)
downloadrtems-33c82ddba1856df8b06a9363b671ee6f7856ece3.tar.bz2
shell: Correct argument order of `mfill`
Close #3722. (cherry picked from commit 2e8a66d13f04015c0024a084578f720ceb15ea00)
Diffstat (limited to 'cpukit')
-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;
}