net/failsafe: fix error string after ownership call
authorGaetan Rivet <gaetan.rivet@6wind.com>
Thu, 1 Feb 2018 10:59:30 +0000 (11:59 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 5 Feb 2018 15:29:35 +0000 (16:29 +0100)
commit9df324ad0895d8d41e020675a6abb020a84fe323
tree95da564281b186d2d2438db98bb904ce2769d71c
parente8df563bac263e55b7dd9d45a00417aa92ef66cb
net/failsafe: fix error string after ownership call

Ownership API returns a negative value, strerror expects a valid errno
value, thus positive.

Coverity issue: 260401
Fixes: dcd0c9c32b8d ("net/failsafe: use ownership mechanism for slaves")

Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
drivers/net/failsafe/failsafe_eal.c