summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/core/environment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/environment.py b/ranger/core/environment.py
index 701870e1..562212d4 100644
--- a/ranger/core/environment.py
+++ b/ranger/core/environment.py
@@ -108,4 +108,4 @@ class Environment(SettingsAware, FileManagerAware, SignalDispatcher):
 
     def get_free_space(self, path):
         stat = os.statvfs(path)
-        return stat.f_bavail * stat.f_bsize
+        return stat.f_bavail * stat.f_frsize