Skip to content

Commit

Permalink
Tweak last patch.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed Jun 17, 2014
1 parent 1086c0d commit eac057f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dird/restore.c
Expand Up @@ -527,7 +527,7 @@ void generate_restore_summary(JCR *jcr, int msg_type, const char *term_msg)
if (RunTime <= 0) {
kbps = 0;
} else {
kbps = (double)jcr->jr.JobBytes / (1000 * (jcr->jr.EndTime - jcr->jr.StartTime));
kbps = ((double)jcr->jr.JobBytes) / (1000.0 * (double)RunTime);
}
if (kbps < 0.05) {
kbps = 0;
Expand Down

0 comments on commit eac057f

Please sign in to comment.