diff options
Diffstat (limited to 'src/pacman/sync.c')
-rw-r--r-- | src/pacman/sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c index 4cd8d212..57fec4bc 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -620,7 +620,7 @@ static pmdb_t *get_db(const char *dbname) static int process_pkg(pmpkg_t *pkg) { - int ret = alpm_add_pkg(pkg); + int ret = alpm_add_pkg(config->handle, pkg); if(ret == -1) { if(pm_errno == PM_ERR_TRANS_DUP_TARGET |