Fix build on DragonFlyBSD
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 28 Feb 2016 17:29:41 +0000 (18:29 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 28 Feb 2016 17:29:41 +0000 (18:29 +0100)
commitcadd56ca4dd15b17f98f9d606d7054827182205b
tree1f1ab976856a26c0bf8189f3ec9e6d02d0bfbd61
parent4cfc5b72fd60598b1bfbac58fd1f035bd9c09df2
Fix build on DragonFlyBSD

DragonFlyBSD has both vfsstat and fsstat apis.
It lacks ST_NOWAIT however.

The easiest fix is to swap the checks and use getfsstat first.
src/utils_mount.c