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/libbb.h | |
parent | d55e13964916af6a083be881bffdb493af287c1d (diff) | |
download | busybox-w32-ab8d00d64fc23602875952c08c030f05f206686c.tar.gz busybox-w32-ab8d00d64fc23602875952c08c030f05f206686c.tar.bz2 busybox-w32-ab8d00d64fc23602875952c08c030f05f206686c.zip |
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/libbb.h')
-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, | |||
1584 | int print_flags(const masks_labels_t *ml, int flags) FAST_FUNC; | 1584 | int print_flags(const masks_labels_t *ml, int flags) FAST_FUNC; |
1585 | 1585 | ||
1586 | typedef struct bb_progress_t { | 1586 | typedef struct bb_progress_t { |
1587 | off_t lastsize; | 1587 | unsigned last_size; |
1588 | unsigned lastupdate_sec; | 1588 | unsigned last_update_sec; |
1589 | unsigned last_change_sec; | ||
1589 | unsigned start_sec; | 1590 | unsigned start_sec; |
1590 | const char *curfile; | 1591 | const char *curfile; |
1591 | } bb_progress_t; | 1592 | } bb_progress_t; |