diff options
author | Michael Schroeder <mls@suse.de> | 2012-03-01 17:42:21 +0100 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2012-03-01 17:42:21 +0100 |
commit | 03c154a682036cbfee22bc62e21cef2a2fe74649 (patch) | |
tree | 4c19a29b53cfed350c4b13d66e13b87b82488928 /tools/dumpsolv.c | |
parent | a294ad3a61d32d5a96afe0ccce296555eed5b1e7 (diff) | |
download | libsolv-03c154a682036cbfee22bc62e21cef2a2fe74649.tar.gz libsolv-03c154a682036cbfee22bc62e21cef2a2fe74649.tar.bz2 libsolv-03c154a682036cbfee22bc62e21cef2a2fe74649.zip |
- rename repo_add_solv_flags to repo_add_solv. Should have done this a couple of months earlier, sorry.
Diffstat (limited to 'tools/dumpsolv.c')
-rw-r--r-- | tools/dumpsolv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/dumpsolv.c b/tools/dumpsolv.c index 23ceaa3..4df9d8c 100644 --- a/tools/dumpsolv.c +++ b/tools/dumpsolv.c @@ -194,7 +194,7 @@ printf("loc %s\n", location); perror(location); return 0; } - r = repo_add_solv_flags(data->repo, fp, REPO_USE_LOADING|REPO_LOCALPOOL); + r = repo_add_solv(data->repo, fp, REPO_USE_LOADING|REPO_LOCALPOOL); fclose(fp); return !r ? 1 : 0; } @@ -276,13 +276,13 @@ int main(int argc, char **argv) exit(1); } repo = repo_create(pool, argv[optind]); - if (repo_add_solv(repo, stdin)) + if (repo_add_solv(repo, stdin, 0)) printf("could not read repository\n"); } if (!pool->urepos) { repo = repo_create(pool, argc != 1 ? argv[1] : "<stdin>"); - if (repo_add_solv(repo, stdin)) + if (repo_add_solv(repo, stdin, 0)) printf("could not read repository\n"); } printf("pool contains %d strings, %d rels, string size is %d\n", pool->ss.nstrings, pool->nrels, pool->ss.sstrings); |