aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSantosh Shukla <santosh.shukla@linaro.org>2014-08-04 11:07:18 +0530
committerMaxim Uvarov <maxim.uvarov@linaro.org>2014-08-06 23:48:05 +0400
commit3a00de5701c80e0feedb3664ec572cb7ac86fb9e (patch)
tree582b0e6d799f3b90300e641dc27912fe42caf687 /test
parent57611a5057abfa20842593a049edc7ad9386e468 (diff)
linux-generic: Fix incorrect thread_tbl index in apps
few of odp example and test application passing incorrect thread_tbl index entry (thread_tbl base addr) to odp_linux_pthread_create(thread_tbl^^, 1, ..) api. This patch a common fix for those odp application. Signed-off-by: Santosh Shukla <santosh.shukla@linaro.org>
Diffstat (limited to 'test')
-rw-r--r--test/api_test/odp_timer_ping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/api_test/odp_timer_ping.c b/test/api_test/odp_timer_ping.c
index cd67e0d7..88650d68 100644
--- a/test/api_test/odp_timer_ping.c
+++ b/test/api_test/odp_timer_ping.c
@@ -367,7 +367,7 @@ int main(int argc ODP_UNUSED, char *argv[] ODP_UNUSED)
run_thread = send_ping;
/* Create and launch worker threads */
- odp_linux_pthread_create(thread_tbl, 1, i,
+ odp_linux_pthread_create(&thread_tbl[i], 1, i,
run_thread, (pthrd_arg *)&pingarg);
}