summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2013-04-15 14:19:02 +0200
committerMichael Schroeder <mls@suse.de>2013-04-15 14:19:02 +0200
commit1da63a9e704f9143c09c0c02c29669c85bee6de2 (patch)
tree70f35a619c3d193ca6d31aee4e9921c379cc512d /tools
parent97c5738b5a8c038cf1b893d4509c5da0c62e99f6 (diff)
downloadlibsolv-1da63a9e704f9143c09c0c02c29669c85bee6de2.tar.gz
libsolv-1da63a9e704f9143c09c0c02c29669c85bee6de2.tar.bz2
libsolv-1da63a9e704f9143c09c0c02c29669c85bee6de2.zip
add pool parameter to rpm_state_create so that we can use pool_error for error reporting
Diffstat (limited to 'tools')
-rw-r--r--tools/findfileconflicts.c2
1 files changed, 1 insertions, 1 deletions
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);