From 7d27cf8364b9c5d9a8d89017173f8c88d40cedd5 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 7 Jun 2011 13:34:30 -0500 Subject: Require handle for alpm_db_register_sync() Signed-off-by: Dan McGee --- src/pacman/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pacman/conf.c') diff --git a/src/pacman/conf.c b/src/pacman/conf.c index c52c6044..1ee0444d 100644 --- a/src/pacman/conf.c +++ b/src/pacman/conf.c @@ -564,7 +564,7 @@ static int _parseconfig(const char *file, int parse_options, pm_printf(PM_LOG_DEBUG, "config: new section '%s'\n", name); /* if we are not looking at the options section, register a db */ if(!parse_options && strcmp(name, "options") != 0) { - db = alpm_db_register_sync(name); + db = alpm_db_register_sync(config->handle, name); if(db == NULL) { pm_printf(PM_LOG_ERROR, _("could not register '%s' database (%s)\n"), name, alpm_strerrorlast()); -- cgit v1.2.3-24-g4f1b