From: Tomohiro Kusumi Date: Mon, 17 Oct 2016 14:17:40 +0000 (+0900) Subject: Fix e7e136da (Add device_is_mounted() support for BSDs) X-Git-Tag: fio-2.15~13 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=9ada751de9177687b19e3398d43fdb706ea14a09;hp=9ada751de9177687b19e3398d43fdb706ea14a09 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 Signed-off-by: Jens Axboe ---