author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sun, 28 Feb 2016 17:29:41 +0000 (18:29 +0100) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sun, 28 Feb 2016 17:29:41 +0000 (18:29 +0100) | ||
commit | cadd56ca4dd15b17f98f9d606d7054827182205b | |
tree | 1f1ab976856a26c0bf8189f3ec9e6d02d0bfbd61 | tree | snapshot |
parent | 4cfc5b72fd60598b1bfbac58fd1f035bd9c09df2 | commit | diff |
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.
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 | diff | blob | history |