summaryrefslogtreecommitdiffstats
path: root/src/util/format.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/format.rs')
-rw-r--r--src/util/format.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/format.rs b/src/util/format.rs
index cd73605..0afa793 100644
--- a/src/util/format.rs
+++ b/src/util/format.rs
@@ -1,7 +1,7 @@
use std::time;
pub fn file_size_to_string(file_size: u64) -> String {
- const FILE_UNITS: [&str; 6] = ["B", "K", "M", "G", "T", "E"];
+ const FILE_UNITS: [&str; 6] = ["B", "K", "M", "G", "T", "P"];
const CONV_RATE: f64 = 1024.0;
let mut file_size: f64 = file_size as f64;