diff options
-rw-r--r-- | source3/utils/smbget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbget.c b/source3/utils/smbget.c index 92a3831752..ab6e368c70 100644 --- a/source3/utils/smbget.c +++ b/source3/utils/smbget.c @@ -219,7 +219,7 @@ void print_progress(const char *name, time_t start, time_t now, off_t start_pos, char *status, *filename; int len; if(now - start)avg = 1.0 * (pos - start_pos) / (now - start); - eta = (total - pos - start_pos) / avg; + eta = (total - pos) / avg; if(total)prcnt = 100.0 * pos / total; human_readable(pos, hpos, sizeof(hpos)); |