summaryrefslogtreecommitdiffstats
path: root/deluge/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'deluge/common.py')
-rw-r--r--deluge/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/deluge/common.py b/deluge/common.py
index 4a2dfb8..a4bf45a 100644
--- a/deluge/common.py
+++ b/deluge/common.py
@@ -501,7 +501,7 @@ def free_space(path):
return (free * sectors * bytes)
else:
disk_data = os.statvfs(path.encode("utf8"))
- block_size = disk_data.f_bsize
+ block_size = disk_data.f_frsize
return disk_data.f_bavail * block_size
def is_ip(ip):