From 45908b9dd8f6fd55e6abcee83e5a877686e6a2b8 Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Sun, 14 May 2017 23:45:22 +0300 Subject: [PATCH] fs::statfs fixed --- Utilities/File.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/File.cpp b/Utilities/File.cpp index 612e97a325..d712d397ad 100644 --- a/Utilities/File.cpp +++ b/Utilities/File.cpp @@ -428,7 +428,7 @@ bool fs::statfs(const std::string& path, fs::device_stat& info) info.avail_free = avail_free.QuadPart; #else struct ::statvfs buf; - if (!::statvfs(path.c_str(), &buf) != 0) + if (::statvfs(path.c_str(), &buf) != 0) { g_tls_error = to_error(errno); return false;