examples/bond: check thread termination
authorPiotr Azarewicz <piotrx.t.azarewicz@intel.com>
Wed, 29 Jun 2016 13:15:38 +0000 (15:15 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 11 Jul 2016 15:21:21 +0000 (17:21 +0200)
commit3ca530edd4443f217beefe36fd176ce2804e0bf7
tree853477ef49d488d0307c70bf641881703791f2a3
parent8a499c23feaa3174e1c35276481ff1094508bec3
examples/bond: check thread termination

The example is calling rte_eal_wait_lcore without checking return value.
Now it is fixed by checking the value and print proper message.

Coverity issue: 37789, 37790
Fixes: cc7e8ae84faa ("examples/bond: add example application for link bonding mode 6")

Signed-off-by: Piotr Azarewicz <piotrx.t.azarewicz@intel.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
examples/bond/main.c