summaryrefslogtreecommitdiffstats
path: root/src/stats.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/stats.rs')
-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)
}
+
+
}