diff options
author | Michael Schroeder <mls@suse.de> | 2013-04-08 11:36:43 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2013-04-08 11:36:43 +0200 |
commit | 2bb9ff59dde27663a23fa798419f4bd6ab91d1be (patch) | |
tree | ef568f1ed1b1d4a284376d75e6f5d8da5f735a8b /examples | |
parent | b93033c48c7607c8ed91fe8bab904840a6ae6ad3 (diff) | |
download | libsolv-2bb9ff59dde27663a23fa798419f4bd6ab91d1be.tar.gz libsolv-2bb9ff59dde27663a23fa798419f4bd6ab91d1be.tar.bz2 libsolv-2bb9ff59dde27663a23fa798419f4bd6ab91d1be.zip |
fix bugs in fileconflicts code and prepare for aliased dirs
Breaks API but that should not be a problem as noone seems to
use the function yet.
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 eea621d..37456d8 100644 --- a/examples/solv.c +++ b/examples/solv.c @@ -3141,8 +3141,8 @@ rerunsolver: if (conflicts.count) { printf("\n"); - for (i = 0; i < conflicts.count; i += 5) - printf("file %s of package %s conflicts with package %s\n", pool_id2str(pool, conflicts.elements[i]), pool_solvid2str(pool, conflicts.elements[i + 1]), pool_solvid2str(pool, conflicts.elements[i + 3])); + for (i = 0; i < conflicts.count; i += 6) + printf("file %s of package %s conflicts with package %s\n", pool_id2str(pool, conflicts.elements[i]), pool_solvid2str(pool, conflicts.elements[i + 1]), pool_solvid2str(pool, conflicts.elements[i + 4])); printf("\n"); if (yesno("Re-run solver (y/n/q)? ")) { |