diff --git a/src/common/utility.cpp b/src/common/utility.cpp
index 9baf137..2f1dc5b 100644
--- a/src/common/utility.cpp
+++ b/src/common/utility.cpp
@@ -228,8 +228,8 @@ qint64 Utility::freeDiskSpace(const QString &path)
         return (qint64)stat.f_bavail * stat.f_frsize;
     }
 #elif defined(Q_OS_UNIX)
-    struct statvfs64 stat{};
-    if (statvfs64(path.toLocal8Bit().data(), &stat) == 0) {
+    struct statvfs stat{};
+    if (statvfs(path.toLocal8Bit().data(), &stat) == 0) {
         return (qint64)stat.f_bavail * stat.f_frsize;
     }
 #elif defined(Q_OS_WIN)
