mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-03 17:38:15 +00:00
fs::statfs fixed
This commit is contained in:
parent
81c8d3f27a
commit
45908b9dd8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user