diff options
author | Aaron Griffin <aaron@archlinux.org> | 2006-11-02 03:29:10 +0100 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-11-02 03:29:10 +0100 |
commit | fbf1aa653984be4a15714a0efe3acf756daf2d57 (patch) | |
tree | da4f9d026482393f281c627e30e95a740fa48398 /src/pacman/package.c | |
parent | 22ce4a2a006d652219e688c6f082a65366051f71 (diff) | |
download | pacman-fbf1aa653984be4a15714a0efe3acf756daf2d57.tar.gz pacman-fbf1aa653984be4a15714a0efe3acf756daf2d57.tar.xz |
* Fixed some alpm_get_option calls (long params were used for C99 compliance,
but were used in error)
* Cleaned up some output newlines
* Added "local database is up to date" when no packages are upgraded
Diffstat (limited to 'src/pacman/package.c')
-rw-r--r-- | src/pacman/package.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/package.c b/src/pacman/package.c index 0a069055..ade6f5dc 100644 --- a/src/pacman/package.c +++ b/src/pacman/package.c @@ -91,7 +91,7 @@ void dump_pkg_full(PM_PKG *pkg, int level) long lroot; char *root; alpm_get_option(PM_OPT_ROOT, &lroot); - root = (void *)&root; + root = (void *)lroot; fprintf(stdout, "\n"); for(i = alpm_list_first(alpm_pkg_getinfo(pkg, PM_PKG_BACKUP)); i; i = alpm_list_next(i)) { struct stat buf; |