blob: bb0df257e0080b522612550a9643058836dc5f3a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- libktorrent/util/fileops.cpp.orig 2007-10-22 18:18:51.000000000 +0200
+++ libktorrent/util/fileops.cpp 2007-10-22 18:35:28.000000000 +0200
@@ -425,7 +425,7 @@
if (statvfs(path.local8Bit(), &stfs) == 0)
#endif
{
- bytes_free = ((Uint64)stfs.f_bavail) * ((Uint64)stfs.f_bsize);
+ bytes_free = ((Uint64)stfs.f_bavail) * ((Uint64)stfs.f_frsize);
return true;
}
else
|