tape: improve backup task log format

This commit is contained in:
Dietmar Maurer 2021-03-10 09:54:51 +01:00
parent affc224aca
commit 713a128adf
1 changed files with 1 additions and 1 deletions

View File

@ -374,7 +374,7 @@ impl PoolWriter {
let elapsed = start_time.elapsed()?.as_secs_f64();
worker.log(format!(
"wrote {:.2} MB ({} MB/s)",
"wrote {:.2} MB ({:.2} MB/s)",
bytes_written as f64 / (1024.0*1024.0),
(bytes_written as f64)/(1024.0*1024.0*elapsed),
));