summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Brandmeyer <jbrandmeyer@planetiq.com>2019-03-13 03:04:27 (UTC)
committerGedare Bloom <gedare@rtems.org>2019-03-14 13:57:40 (UTC)
commit33c82ddba1856df8b06a9363b671ee6f7856ece3 (patch)
tree6b7b7802a15e2482af366b1b8c2d657c317bf7f7
parentdc6bd8bb665a6517c324e552745524b06fe6eef8 (diff)
downloadrtems-4.11.tar.bz2
shell: Correct argument order of `mfill`4.11
Close #3722. (cherry picked from commit 2e8a66d13f04015c0024a084578f720ceb15ea00)
-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 d8e2fcf..47a55d3 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;
}