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/util/testdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util/testdb.c') diff --git a/src/util/testdb.c b/src/util/testdb.c index c7640d91..620328e2 100644 --- a/src/util/testdb.c +++ b/src/util/testdb.c @@ -152,7 +152,7 @@ static int check_syncdbs(alpm_list_t *dbnames) { for(i = dbnames; i; i = alpm_list_next(i)) { char *dbname = alpm_list_getdata(i); - db = alpm_db_register_sync(dbname); + db = alpm_db_register_sync(handle, dbname); if(db == NULL) { fprintf(stderr, "error: could not register sync database (%s)\n", alpm_strerrorlast()); -- cgit v1.2.3-24-g4f1b