summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-03-10 21:36:20 +0100
committerDan McGee <dan@archlinux.org>2007-03-10 21:36:20 +0100
commit2f4c1fe647ce3a65413ec6317ec98405f11a7539 (patch)
tree49f7cc1fa524d7cc7ac4bc0c3122ab5a79c50969 /src
parent187eb7492d673230b70034e1838b99bfda8cbccc (diff)
downloadpacman-2f4c1fe647ce3a65413ec6317ec98405f11a7539.tar.gz
pacman-2f4c1fe647ce3a65413ec6317ec98405f11a7539.tar.xz
* Updated Italian translation
Giovanni Scafora <linuxmania@gmail.com> * long -> float conversion for package size output (which still may be the wrong size, this needs to be looked at)
Diffstat (limited to 'src')
-rw-r--r--src/pacman/package.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/package.c b/src/pacman/package.c
index 091ed9ed..5c27b665 100644
--- a/src/pacman/package.c
+++ b/src/pacman/package.c
@@ -83,7 +83,7 @@ void dump_pkg_full(pmpkg_t *pkg, int level)
list_display(_("Required By :"), alpm_pkg_get_requiredby(pkg));
}
list_display(_("Conflicts With :"), alpm_pkg_get_conflicts(pkg));
- printf(_("Installed Size : %ld K\n"), (long)alpm_pkg_get_size(pkg) / 1024);
+ printf(_("Installed Size : %6.2f K\n"), (float)alpm_pkg_get_size(pkg) / 1024.0);
printf(_("Packager : %s\n"), (char *)alpm_pkg_get_packager(pkg));
printf(_("Architecture : %s\n"), (char *)alpm_pkg_get_arch(pkg));
printf(_("Build Date : %s %s\n"), bdate, strlen(bdate) ? "UTC" : "");