diff options
author | rabite <rabite@posteo.de> | 2019-05-23 22:07:42 +0200 |
---|---|---|
committer | rabite <rabite@posteo.de> | 2019-05-23 22:07:42 +0200 |
commit | 5dd4666800dd170cde5afab0556eeff2174267a5 (patch) | |
tree | 4bf846e97474e003bfde1c8d42b4873eb6dee8c5 /src/stats.rs | |
parent | 7f708df9bd161132e41b29896910e119587e0bb0 (diff) |
fix free space display (show "avail", instead of "free")
Diffstat (limited to 'src/stats.rs')
-rw-r--r-- | src/stats.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stats.rs b/src/stats.rs index 10c83b0..c601a65 100644 --- a/src/stats.rs +++ b/src/stats.rs @@ -79,6 +79,6 @@ impl FsExt for Filesystem { } fn get_free(&self) -> String { - self.free.to_string(false) + self.avail.to_string(false) } } |