lib/tst_module.c: modification for updated tst_run_cmd specification
Signed-off-by: Stanislav kholmanskikh <stanislav.kholmanskikh@oracle.com>
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
diff --git a/lib/tst_module.c b/lib/tst_module.c
index 832da27..c0f2c8f 100644
--- a/lib/tst_module.c
+++ b/lib/tst_module.c
@@ -94,12 +94,12 @@
for (i = offset; i < size; ++i)
mod_argv[i] = argv[i - offset];
- tst_run_cmd(cleanup_fn, mod_argv);
+ tst_run_cmd(cleanup_fn, mod_argv, NULL, NULL);
free(mod_path);
}
void tst_module_unload(void (cleanup_fn)(void), const char *mod_name)
{
char *const argv[] = { "rmmod", mod_name, NULL };
- tst_run_cmd(cleanup_fn, argv);
+ tst_run_cmd(cleanup_fn, argv, NULL, NULL);
}