diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-12-11 12:21:24 -0500 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-12-11 12:21:24 -0500 |
commit | 05e3ad28c8c1818a28096f3650c07031774ce1d9 (patch) | |
tree | 2b94180fdebafc68ff4fd7a773d23b5fcccd2c1d | |
parent | 261c9a958100e9a9aeda5d976788199ddbe182a2 (diff) | |
download | expac-05e3ad28c8c1818a28096f3650c07031774ce1d9.tar.xz |
remove KiB conversion for sizes
-rw-r--r-- | expac.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -446,10 +446,10 @@ static int print_pkg(alpm_pkg_t *pkg, const char *format) { /* sizes */ case 'k': /* download size */ - out += printf("%.2f KiB", (float)alpm_pkg_get_size(pkg) / 1024.0); + out += printf("%s", alpm_pkg_get_size(pkg)); break; case 'm': /* install size */ - out += printf("%.2f KiB", (float)alpm_pkg_get_isize(pkg) / 1024.0); + out += printf("%s", alpm_pkg_get_isize(pkg)); break; /* lists */ |