nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 681b22d5c76356912fe29eb5769a92634329ad9b
parent 7086df5c784f2ad1f14408f2e9df9ff41b4a4af1
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Thu, 16 Jan 2020 22:58:12 +0530

Revert "Fixed calculation of capacity on OpenBSD (#441)"

This reverts commit 527e995f1f6686966fcf13181d7a922d913aac95.

Diffstat:
Msrc/nnn.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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)); }