summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/gui/widgets/statusbar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/widgets/statusbar.py b/ranger/gui/widgets/statusbar.py
index f5824d99..ee4df028 100644
--- a/ranger/gui/widgets/statusbar.py
+++ b/ranger/gui/widgets/statusbar.py
@@ -312,7 +312,7 @@ class StatusBar(Widget):
 
 def get_free_space(path):
     stat = os.statvfs(path)
-    return stat.f_bavail * stat.f_bsize
+    return stat.f_bavail * stat.f_frsize
 
 class Message(object):
     elapse = None