tests/xs: use ENOENT instead of ENODATA
authorRoger Pau Monne <roger.pau@citrix.com>
Mon, 2 Jul 2018 08:28:25 +0000 (10:28 +0200)
committerWei Liu <wei.liu2@citrix.com>
Tue, 10 Jul 2018 07:42:07 +0000 (08:42 +0100)
commit92e8f80ec042efa88ae7dce8832f8f6e5e84bf81
tree826db25aa15eac6b75938759d5249adc5c44dea6
parent150003f8115f8d592f8d7733c67590aee802797a
tests/xs: use ENOENT instead of ENODATA

ENODATA is not part of the standard set of errno values, so use
ENOENT instead. This fixes the build on FreeBSD.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/tests/xenstore/xs-test.c