summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Brandmeyer <jbrandmeyer@planetiq.com>2019-03-12 21:03:52 -0600
committerGedare Bloom <gedare@rtems.org>2019-03-14 09:56:40 -0400
commite816b4e961be287857a0c5d57d154062b2e9ff40 (patch)
tree22f4ebb3f346227525eaa20de3afdcceba7dfcb9
parent68f2ea07c299ec3b30f8839b6e444634f7ca0ac2 (diff)
downloadrtems-4.10.tar.bz2
shell: Correct argument order of `mfill`4.10
Close #3723. (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 ecbaec4878..c86e2b6a25 100644
--- a/cpukit/libmisc/shell/main_mfill.c
+++ b/cpukit/libmisc/shell/main_mfill.c
@@ -62,7 +62,7 @@ int rtems_shell_main_mfill(
/*
* Now fill the memory.
*/
- memset(addr, size, value);
+ memset(addr, value, size);
return 0;
}