[PATCH] shell: Correct argument order of `mfill`
Jonathan Brandmeyer
jbrandmeyer at planetiq.com
Fri Mar 1 18:21:34 UTC 2019
---
cpukit/libmisc/shell/main_mfill.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
}
--
2.11.0
More information about the devel
mailing list