[LTP] [COMMITTED] [PATCH 11/23] syscalls/mallopt01: Make use of tst_parse_opts()

Cyril Hrubis chrubis@suse.cz
Tue Feb 28 12:11:33 CET 2017


Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
---
 testcases/kernel/syscalls/mallopt/mallopt01.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/testcases/kernel/syscalls/mallopt/mallopt01.c b/testcases/kernel/syscalls/mallopt/mallopt01.c
index 5df959e..416fc48 100644
--- a/testcases/kernel/syscalls/mallopt/mallopt01.c
+++ b/testcases/kernel/syscalls/mallopt/mallopt01.c
@@ -70,6 +70,8 @@ int main(int argc, char *argv[])
 {
 	char *buf;
 
+	tst_parse_opts(argc, argv, NULL, NULL);
+
 	tst_tmpdir();
 
 	buf = SAFE_MALLOC(NULL, 20480);
-- 
2.10.2



More information about the ltp mailing list