From f438f1e9ef8ba007f0c6fcd8d19bb13d92c0df8e Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sat, 18 Jun 2016 16:40:22 +0100 Subject: [PATCH] Fix stats print --- fs/accounting.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/accounting.go b/fs/accounting.go index cfba8854d..34f8fd984 100644 --- a/fs/accounting.go +++ b/fs/accounting.go @@ -119,7 +119,7 @@ func (s *StatsInfo) String() string { dtSeconds := dt.Seconds() speed := 0.0 if dt > 0 { - speed = float64(s.bytes) / 1024 / dtSeconds + speed = float64(s.bytes) / dtSeconds } dtRounded := dt - (dt % (time.Second / 10)) buf := &bytes.Buffer{}