diff options
author | Michael Schroeder <mls@suse.de> | 2013-04-15 14:19:02 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2013-04-15 14:19:02 +0200 |
commit | 1da63a9e704f9143c09c0c02c29669c85bee6de2 (patch) | |
tree | 70f35a619c3d193ca6d31aee4e9921c379cc512d /examples | |
parent | 97c5738b5a8c038cf1b893d4509c5da0c62e99f6 (diff) | |
download | libsolv-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 'examples')
-rw-r--r-- | examples/solv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/solv.c b/examples/solv.c index 5d8e31e..4e966cf 100644 --- a/examples/solv.c +++ b/examples/solv.c @@ -145,7 +145,7 @@ yum_substitute(Pool *pool, char *line) Queue q; queue_init(&q); - rpmstate = rpm_state_create(pool_get_rootdir(pool)); + rpmstate = rpm_state_create(pool, pool_get_rootdir(pool)); rpm_installedrpmdbids(rpmstate, "Providename", "redhat-release", &q); if (q.count) { @@ -3171,7 +3171,7 @@ rerunsolver: printf("Searching for file conflicts\n"); queue_init(&conflicts); - fcstate.rpmstate = rpm_state_create(rootdir); + fcstate.rpmstate = rpm_state_create(pool, rootdir); fcstate.newpkgscnt = newpkgs; fcstate.checkq = &checkq; fcstate.newpkgsfps = newpkgsfps; |