fbarray: fix errno values returned from functions
authorAnatoly Burakov <anatoly.burakov@intel.com>
Mon, 11 Jun 2018 20:55:34 +0000 (21:55 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 13 Jul 2018 08:48:41 +0000 (10:48 +0200)
commita148861aa8c84e7af4962a387cb886706778d6af
tree44a52ba4f5a85bc8abc3193655d58395f5de3216
parent1d406458db476adb12c5be004eca893637143556
fbarray: fix errno values returned from functions

Errno values are supposed to be positive, yet they were negative.

This changes API, so not backporting.

Fixes: c44d09811b40 ("eal: add shared indexed file-backed array")

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
lib/librte_eal/common/eal_common_fbarray.c