diff options
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); |