aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nnn.c')
-rw-r--r--src/nnn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 3e7760b..63b6c03 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -3285,7 +3285,7 @@ static size_t get_fs_info(const char *path, bool type)
return 0;
if (type == CAPACITY)
- return svb.f_blocks << ffs((int)(svb.f_frsize >> 1));
+ return svb.f_blocks << ffs((int)(svb.f_bsize >> 1));
return svb.f_bavail << ffs((int)(svb.f_frsize >> 1));
}