Be more verbose on endianness detection failure
authorTomohiro Kusumi <tkusumi@tuxera.com>
Mon, 13 Feb 2017 16:13:43 +0000 (18:13 +0200)
committerJens Axboe <axboe@fb.com>
Mon, 13 Feb 2017 16:15:15 +0000 (09:15 -0700)
commit1a50e7f010661f5faa9bb9d631d25b896e029844
treef682269ead9bb0fab322e19b9d338d2cc3918140
parent4c14c109614a76bdbde1d030f7129324f1472a1f
Be more verbose on endianness detection failure

> I think this deserves and enum. That also enables the compiler to check
> if the below switch covers all the potential values.

Updated with enum ENDIAN_XXX, which you can change the naming if it
doesn't sound good.

Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
libfio.c