summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorrabite <rabite@posteo.de>2019-12-09 01:21:59 +0100
committerrabite <rabite@posteo.de>2019-12-09 01:21:59 +0100
commit17c25221241c61acf6a77967471439775829abe8 (patch)
treedd4cc3d425c11a37e5ba9257ccfb3141a3916f96 /src
parentd42f7d328c53e010cf28153a25168368b8b0376c (diff)
update dependencies and fix build
Diffstat (limited to 'src')
-rw-r--r--src/stats.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/stats.rs b/src/stats.rs
index b996772..4fc3539 100644
--- a/src/stats.rs
+++ b/src/stats.rs
@@ -76,10 +76,12 @@ impl FsExt for Filesystem {
}
fn get_total(&self) -> String {
- self.total.to_string(false)
+ self.total.to_string_as(false)
}
fn get_free(&self) -> String {
- self.avail.to_string(false)
+ self.avail.to_string_as(false)
}
+
+
}