index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-03-10 20:36:20 +0000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-03-10 20:36:20 +0000 |
commit | 2f4c1fe647ce3a65413ec6317ec98405f11a7539 (patch) | |
tree | 49f7cc1fa524d7cc7ac4bc0c3122ab5a79c50969 /src | |
parent | 187eb7492d673230b70034e1838b99bfda8cbccc (diff) |
-rw-r--r-- | src/pacman/package.c | 2 |
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" : ""); |