diff options
Diffstat (limited to 'example/time/time_global_test.c')
-rw-r--r-- | example/time/time_global_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/example/time/time_global_test.c b/example/time/time_global_test.c index ad1bfead8..2357f25d6 100644 --- a/example/time/time_global_test.c +++ b/example/time/time_global_test.c @@ -343,8 +343,8 @@ int main(int argc, char *argv[]) goto err; } - 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 = run_thread; thr_param.arg = gbls; |