summaryrefslogtreecommitdiffstats
path: root/src/pacman/package.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-08-25 05:13:26 +0200
committerDan McGee <dan@archlinux.org>2011-08-25 23:09:52 +0200
commit0ee3ce70a88a42387d19f0d58901fda21b0161b7 (patch)
tree29ed77f1f94445fd92351f3fcc2e3af2891eed1c /src/pacman/package.c
parent73fcf17041cf00e0b6c3082bd354b8eaab412dab (diff)
downloadpacman-0ee3ce70a88a42387d19f0d58901fda21b0161b7.tar.gz
pacman-0ee3ce70a88a42387d19f0d58901fda21b0161b7.tar.xz
Remove short/long label distinction
We only used short labels in one place, and the short label is always the first character of the long label anyway. Signed-off-by: Dan McGee <dan@archlinux.org>
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 7fe33a9f..80c6bf2f 100644
--- a/src/pacman/package.c
+++ b/src/pacman/package.c
@@ -120,14 +120,14 @@ void dump_pkg_full(alpm_pkg_t *pkg, enum pkg_from from, 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', 1, &label);
+ size = humanize_size(alpm_pkg_get_size(pkg), 'K', &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', 1, &label);
+ size = humanize_size(alpm_pkg_get_isize(pkg), 'K', &label);
printf(_("Installed Size : %6.2f %s\n"), size, label);
string_display(_("Packager :"), alpm_pkg_get_packager(pkg));