diff options
| author | 2020-01-16 22:58:12 +0530 | |
|---|---|---|
| committer | 2020-01-16 22:58:12 +0530 | |
| commit | 681b22d5c76356912fe29eb5769a92634329ad9b (patch) | |
| tree | 90fa61abedf8e6bf3a7e7eb8502dc06d38902a32 /src | |
| parent | 7086df5c784f2ad1f14408f2e9df9ff41b4a4af1 (diff) | |
| download | nnn-681b22d5c76356912fe29eb5769a92634329ad9b.tar.gz | |
Revert "Fixed calculation of capacity on OpenBSD (#441)"
This reverts commit 527e995f1f6686966fcf13181d7a922d913aac95.
Diffstat (limited to 'src')
| -rw-r--r-- | src/nnn.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); } |