mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 22:11:26 +12:00
fs::statfs fixed
This commit is contained in:
parent
81c8d3f27a
commit
45908b9dd8
1 changed files with 1 additions and 1 deletions
|
@ -428,7 +428,7 @@ bool fs::statfs(const std::string& path, fs::device_stat& info)
|
||||||
info.avail_free = avail_free.QuadPart;
|
info.avail_free = avail_free.QuadPart;
|
||||||
#else
|
#else
|
||||||
struct ::statvfs buf;
|
struct ::statvfs buf;
|
||||||
if (!::statvfs(path.c_str(), &buf) != 0)
|
if (::statvfs(path.c_str(), &buf) != 0)
|
||||||
{
|
{
|
||||||
g_tls_error = to_error(errno);
|
g_tls_error = to_error(errno);
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue