From 3d6242ed7480526abcbc8c2687157933061b5b28 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Thu, 16 Nov 2006 17:24:41 +0000 Subject: * makepkg.conf.in variable changes (missed the checkin) * Better error reporting when unpacking an archive fails * Fixed -Sc and -Scc cache dir opening/reading --- src/pacman/sync.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); -- cgit v1.2.3-70-g09d2