From 2d4c3048ed73127f9c8becef68317a313e84647d Mon Sep 17 00:00:00 2001 From: introom Date: Sat, 28 Dec 2013 15:33:57 +0800 Subject: fix improper display of disk free size on os x --- ranger/core/environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.4.1-2-gfad0