fbarray: check for open failure
authorAnatoly Burakov <anatoly.burakov@intel.com>
Tue, 17 Apr 2018 15:44:06 +0000 (16:44 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 23 Apr 2018 20:44:21 +0000 (22:44 +0200)
commit2bcbc4d12c9c1be7e6bf59b1acc3c3f5edd7900c
tree2e854f206bfc3a788b0d2f484118b93dfa2d43b0
parent9d3ba1e0ad248a6c2166277e7c7d6e25dc35c140
fbarray: check for open failure

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

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
lib/librte_eal/common/eal_common_fbarray.c