Fix e7e136da (Add device_is_mounted() support for BSDs)
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Mon, 17 Oct 2016 14:17:40 +0000 (23:17 +0900)
committerJens Axboe <axboe@fb.com>
Mon, 17 Oct 2016 14:12:59 +0000 (08:12 -0600)
commit9ada751de9177687b19e3398d43fdb706ea14a09
treef0c7fc13fd276484f285c6f35c8aa790ea7e9178
parent1abe3856051e0834f707aeaa05626473815d48bd
Fix e7e136da (Add device_is_mounted() support for BSDs)

The actual C code was good, but the code to check getmntinfo(3)
in ./configure was missing * for st. getmntinfo(3) on FreeBSD/
DragonFlyBSD/etc takes statfs** as an argument.

I failed to catch this error as gcc without -Werror only gives
warning and sets $? to 0, though as a result it didn't break anything.

It did nothing to Linux since getmntinfo(3) doesn't compile on
Linux whether arg is * or **.

Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
configure