Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-11-16 17:24:41 +0000
committerAaron Griffin <aaron@archlinux.org>2006-11-16 17:24:41 +0000
commit3d6242ed7480526abcbc8c2687157933061b5b28 (patch)
tree9af64a60a7883d3fa75c5ed67c2d21cebb3bb8dc /src
parent95358f7c5b10cdcb8ca2523ca86bd862a38476c1 (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.c4
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);