summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-07 13:39:52 -0500
committerDan McGee <dan@archlinux.org>2011-06-09 14:24:45 -0500
commitff8e519d4b011a6f23c0366d45c396fcd1f9af97 (patch)
tree6f2bf414a30d7b1868dc113997e9fc03d32704c8 /src
parent7d27cf8364b9c5d9a8d89017173f8c88d40cedd5 (diff)
Require handle for alpm_sync_sysupgrade()
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index 6f8508ec..4cd8d212 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -760,7 +760,7 @@ static int sync_trans(alpm_list_t *targets)
if(config->op_s_upgrade) {
printf(_(":: Starting full system upgrade...\n"));
alpm_logaction(config->handle, "starting full system upgrade\n");
- if(alpm_sync_sysupgrade(config->op_s_upgrade >= 2) == -1) {
+ if(alpm_sync_sysupgrade(config->handle, config->op_s_upgrade >= 2) == -1) {
pm_fprintf(stderr, PM_LOG_ERROR, "%s\n", alpm_strerrorlast());
retval = 1;
goto cleanup;