krytarowski added a comment. FreeBSD uses statfs, NetBSD uses statvfs. I don't know whether they are compatible. The interceptor uses statvfs. Repository: rCRT Compiler Runtime CHANGES SINCE LAST ACTION https://reviews.llvm.org/D55354/new/ https://reviews.llvm.org/D55354