diff options
author | Dan McGee <dan@archlinux.org> | 2012-02-06 12:50:48 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-02-06 12:50:48 +0100 |
commit | f55be4897799c5a6dcb454455ad9edcfc36f8495 (patch) | |
tree | dd87b34de4b85f307d5dd05f6d576aadc3ad3697 /src/pacman/callback.c | |
parent | b488f229d2ec4f2e4b9e746d68422460ca664715 (diff) | |
parent | b7c06d6d678ebe6a434b2387c3bda14647113f32 (diff) | |
download | pacman-f55be4897799c5a6dcb454455ad9edcfc36f8495.tar.gz pacman-f55be4897799c5a6dcb454455ad9edcfc36f8495.tar.xz |
Merge branch 'maint'
Conflicts:
lib/libalpm/alpm_list.c
Diffstat (limited to 'src/pacman/callback.c')
-rw-r--r-- | src/pacman/callback.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pacman/callback.c b/src/pacman/callback.c index 0dcdb69d..6387574b 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -704,8 +704,8 @@ void cb_dl_progress(const char *filename, off_t file_xfered, off_t file_total) } - rate_human = humanize_size((off_t)rate, '\0', &rate_label); - xfered_human = humanize_size(xfered, '\0', &xfered_label); + rate_human = humanize_size((off_t)rate, '\0', -1, &rate_label); + xfered_human = humanize_size(xfered, '\0', -1, &xfered_label); printf(" %ls%-*s ", wcfname, padwid, ""); /* We will show 1.62M/s, 11.6M/s, but 116K/s and 1116K/s */ |