aboutsummaryrefslogtreecommitdiff
path: root/test/common/odp_cunit_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/common/odp_cunit_common.c')
-rw-r--r--test/common/odp_cunit_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/common/odp_cunit_common.c b/test/common/odp_cunit_common.c
index f5c437344..c6e03dab2 100644
--- a/test/common/odp_cunit_common.c
+++ b/test/common/odp_cunit_common.c
@@ -54,8 +54,8 @@ int odp_cunit_thread_create(int func_ptr(void *), pthrd_arg *arg)
int num = arg->numthrds;
odph_thread_param_t thr_param;
- memset(&thr_common, 0, sizeof(thr_common));
- memset(&thr_param, 0, sizeof(thr_param));
+ odph_thread_common_param_init(&thr_common);
+ odph_thread_param_init(&thr_param);
thr_param.start = func_ptr;
thr_param.arg = arg;