From ff8e519d4b011a6f23c0366d45c396fcd1f9af97 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 7 Jun 2011 13:39:52 -0500 Subject: Require handle for alpm_sync_sysupgrade() Signed-off-by: Dan McGee --- src/pacman/sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3-70-g09d2