diff options
author | Aaron Griffin <aaron@archlinux.org> | 2006-11-16 17:24:41 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-11-16 17:24:41 +0000 |
commit | 3d6242ed7480526abcbc8c2687157933061b5b28 (patch) | |
tree | 9af64a60a7883d3fa75c5ed67c2d21cebb3bb8dc /src | |
parent | 95358f7c5b10cdcb8ca2523ca86bd862a38476c1 (diff) |
* makepkg.conf.in variable changes (missed the checkin)
* Better error reporting when unpacking an archive fails
* Fixed -Sc and -Scc cache dir opening/reading
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/sync.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c index c4932e89..345f9fd4 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -59,9 +59,9 @@ static int sync_cleancache(int level) char dirpath[PATH_MAX]; alpm_get_option(PM_OPT_ROOT, &lroot); - root = (void *)&lroot; + root = (void *)lroot; alpm_get_option(PM_OPT_CACHEDIR, &lcachedir); - cachedir = (void *)&lcachedir; + cachedir = (void *)lcachedir; snprintf(dirpath, PATH_MAX, "%s%s", root, cachedir); |