From 1da63a9e704f9143c09c0c02c29669c85bee6de2 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Mon, 15 Apr 2013 14:19:02 +0200 Subject: add pool parameter to rpm_state_create so that we can use pool_error for error reporting --- tools/findfileconflicts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/findfileconflicts.c b/tools/findfileconflicts.c index cb90f54..a59c097 100644 --- a/tools/findfileconflicts.c +++ b/tools/findfileconflicts.c @@ -54,7 +54,7 @@ int main(int argc, char **argv) queue_init(&conflicts); FOR_REPO_SOLVABLES(installed, p, s) queue_push(&todo, p); - state = rpm_state_create(pool_get_rootdir(pool)); + state = rpm_state_create(pool, pool_get_rootdir(pool)); pool_findfileconflicts(pool, &todo, 0, &conflicts, FINDFILECONFLICTS_USE_SOLVABLEFILELIST | FINDFILECONFLICTS_CHECK_DIRALIASING | FINDFILECONFLICTS_USE_ROOTDIR, &iterate_handle, state); rpm_state_free(state); queue_free(&todo); -- cgit v1.2.3