diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-02-11 19:09:30 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-02-11 19:09:30 +0100 |
commit | ab8d00d64fc23602875952c08c030f05f206686c (patch) | |
tree | 62832c02ad648d25a9395f26d59220ba932b8f88 /include | |
parent | d55e13964916af6a083be881bffdb493af287c1d (diff) | |
download | busybox-ab8d00d64fc23602875952c08c030f05f206686c.tar.gz |
progress meter: fix bugs found in stall detection and unknown size logic
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 5 |
1 files changed, 3 insertions, 2 deletions
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; |