diff --git a/deluge/common.py b/deluge/common.py index 4a2dfb801..a4bf45a4f 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):