diff --git a/cmd/restic/cmd_debug.go b/cmd/restic/cmd_debug.go index 2230c7b1c..59a8aad2d 100644 --- a/cmd/restic/cmd_debug.go +++ b/cmd/restic/cmd_debug.go @@ -245,7 +245,7 @@ outer: eta := time.Duration(float64(remaining)/gps) * time.Second fmt.Printf("\r%d byte of %d done (%.2f%%), %.2f guesses per second, ETA %v", - i, len(input), float32(i)/float32(len(input)), + i, len(input), float32(i)/float32(len(input)*100), gps, eta) info = time.Now() }