15 lines
611 B
Plaintext
15 lines
611 B
Plaintext
$OpenBSD: patch-src_mirall_utility_cpp,v 1.1.1.1 2014/06/24 09:20:03 kirby Exp $
|
|
--- src/mirall/utility.cpp.orig Mon Apr 21 22:19:39 2014
|
|
+++ src/mirall/utility.cpp Mon Apr 21 22:20:38 2014
|
|
@@ -321,8 +321,8 @@ qint64 Utility::freeDiskSpace(const QString &path, boo
|
|
return (qint64) stat.f_bavail * stat.f_frsize;
|
|
#elif defined(Q_OS_UNIX)
|
|
Q_UNUSED(ok)
|
|
- struct statvfs64 stat;
|
|
- statvfs64(path.toUtf8().data(), &stat);
|
|
+ struct statvfs stat;
|
|
+ statvfs(path.toUtf8().data(), &stat);
|
|
return (qint64) stat.f_bavail * stat.f_frsize;
|
|
#elif defined(Q_OS_WIN)
|
|
ULARGE_INTEGER freeBytes;
|