pdump: fix error code check when creating/canceling pthread
authorOlivier Matz <olivier.matz@6wind.com>
Wed, 29 Nov 2017 09:55:00 +0000 (10:55 +0100)
committerOlivier Matz <olivier.matz@6wind.com>
Fri, 8 Dec 2017 09:50:43 +0000 (10:50 +0100)
On error, pthread_create() returns a positive number (an errno)
but does not set the errno variable.

Fixes: 278f945402c5 ("pdump: add new library for packet capture")
Cc: stable@dpdk.org
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>

No differences found