aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/progress.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbb/progress.c b/libbb/progress.c
index 3a245ae6c..0e484da6c 100644
--- a/libbb/progress.c
+++ b/libbb/progress.c
@@ -57,6 +57,7 @@ void FAST_FUNC bb_progress_init(bb_progress_t *p)
57 p->start_sec = monotonic_sec(); 57 p->start_sec = monotonic_sec();
58 p->lastupdate_sec = p->start_sec; 58 p->lastupdate_sec = p->start_sec;
59 p->lastsize = 0; 59 p->lastsize = 0;
60 p->inited = 1;
60} 61}
61 62
62void FAST_FUNC bb_progress_update(bb_progress_t *p, 63void FAST_FUNC bb_progress_update(bb_progress_t *p,