From ab8d00d64fc23602875952c08c030f05f206686c Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 11 Feb 2011 19:09:30 +0100 Subject: progress meter: fix bugs found in stall detection and unknown size logic Signed-off-by: Denys Vlasenko --- include/libbb.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/libbb.h b/include/libbb.h index 7581cd4c4..65c319402 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -1584,8 +1584,9 @@ int print_flags_separated(const int *masks, const char *labels, int print_flags(const masks_labels_t *ml, int flags) FAST_FUNC; typedef struct bb_progress_t { - off_t lastsize; - unsigned lastupdate_sec; + unsigned last_size; + unsigned last_update_sec; + unsigned last_change_sec; unsigned start_sec; const char *curfile; } bb_progress_t; -- cgit v1.2.3