summaryrefslogtreecommitdiff
path: root/src/pacman/downloadprog.c
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-02-07 05:25:45 +0000
committerAaron Griffin <aaron@archlinux.org>2007-02-07 05:25:45 +0000
commitad224b2703cee5271cc419a32d8400ed1ad45554 (patch)
tree72f73ec8bb2138f6865c8aff873ac37ce917aaaf /src/pacman/downloadprog.c
parentca4078b115b67ab5dc9250826b4ba63f75292b72 (diff)
* Fix total transfered size on download bar
* Fix -Qm segfault * Minor query cleanup
Diffstat (limited to 'src/pacman/downloadprog.c')
-rw-r--r--src/pacman/downloadprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/downloadprog.c b/src/pacman/downloadprog.c
index e50323c6..c0115844 100644
--- a/src/pacman/downloadprog.c
+++ b/src/pacman/downloadprog.c
@@ -147,7 +147,7 @@ void log_progress(const char *filename, int xfered, int total)
}
printf(" %-*s %6d%c %#6.1f%c/s %02u:%02u:%02u", FILENAME_TRIM_LEN, fname,
- xfered/1024, xfered_size, rate, rate_size, eta_h, eta_m, eta_s);
+ xfered, xfered_size, rate, rate_size, eta_h, eta_m, eta_s);
free(fname);