diff options
author | Aaron Griffin <aaron@archlinux.org> | 2006-10-31 06:41:42 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-10-31 06:41:42 +0000 |
commit | 5a8bbc99be0ec8ea264fca061276e9ec798bca5e (patch) | |
tree | 0107af1d7d04ba0d67d6cf69d0b8bf1746f6137f /src/pacman/package.c | |
parent | af2fb3324a925af6caa9d53aacac92173fc47885 (diff) | |
download | pacman-5a8bbc99be0ec8ea264fca061276e9ec798bca5e.tar.xz |
Numerous changes:
* Added 'ILoveCandy' support to all progress bars
* Changed download callback with regards to libfetch libalpm changes
* libfetch error output on failed sync
* Misc others I may have forgot to name (check the diff, heh)
Diffstat (limited to 'src/pacman/package.c')
-rw-r--r-- | src/pacman/package.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pacman/package.c b/src/pacman/package.c index af60421a..0a069055 100644 --- a/src/pacman/package.c +++ b/src/pacman/package.c @@ -88,8 +88,10 @@ void dump_pkg_full(PM_PKG *pkg, int level) if(level > 1) { PM_LIST *i; + long lroot; char *root; - alpm_get_option(PM_OPT_ROOT, (long *)&root); + alpm_get_option(PM_OPT_ROOT, &lroot); + root = (void *)&root; fprintf(stdout, "\n"); for(i = alpm_list_first(alpm_pkg_getinfo(pkg, PM_PKG_BACKUP)); i; i = alpm_list_next(i)) { struct stat buf; |