index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | src/pacman/sync.c | 4 |
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); |