summaryrefslogtreecommitdiff
path: root/src/pacman/package.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-02-06 05:50:48 -0600
committerDan McGee <dan@archlinux.org>2012-02-06 05:50:48 -0600
commitf55be4897799c5a6dcb454455ad9edcfc36f8495 (patch)
treedd87b34de4b85f307d5dd05f6d576aadc3ad3697 /src/pacman/package.c
parentb488f229d2ec4f2e4b9e746d68422460ca664715 (diff)
parentb7c06d6d678ebe6a434b2387c3bda14647113f32 (diff)
downloadpacman-f55be4897799c5a6dcb454455ad9edcfc36f8495.tar.xz
Merge branch 'maint'
Conflicts: lib/libalpm/alpm_list.c
Diffstat (limited to 'src/pacman/package.c')
-rw-r--r--src/pacman/package.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pacman/package.c b/src/pacman/package.c
index 233e8e24..ecf5745e 100644
--- a/src/pacman/package.c
+++ b/src/pacman/package.c
@@ -118,14 +118,14 @@ void dump_pkg_full(alpm_pkg_t *pkg, int extra)
deplist_display(_("Conflicts With :"), alpm_pkg_get_conflicts(pkg));
deplist_display(_("Replaces :"), alpm_pkg_get_replaces(pkg));
- size = humanize_size(alpm_pkg_get_size(pkg), 'K', &label);
+ size = humanize_size(alpm_pkg_get_size(pkg), 'K', 2, &label);
if(from == PKG_FROM_SYNCDB) {
printf(_("Download Size : %6.2f %s\n"), size, label);
} else if(from == PKG_FROM_FILE) {
printf(_("Compressed Size: %6.2f %s\n"), size, label);
}
- size = humanize_size(alpm_pkg_get_isize(pkg), 'K', &label);
+ size = humanize_size(alpm_pkg_get_isize(pkg), 'K', 2, &label);
printf(_("Installed Size : %6.2f %s\n"), size, label);
string_display(_("Packager :"), alpm_pkg_get_packager(pkg));