summaryrefslogtreecommitdiffstats
path: root/cpukit
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 /cpukit
parentrfs: Remove erroneous call of rtems_disk_release() (diff)
downloadrtems-e816b4e961be287857a0c5d57d154062b2e9ff40.tar.bz2
shell: Correct argument order of `mfill`
Close #3723. (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 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;
}