projects
/
platform
/
upstream
/
libsolv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- get rid of a couple of warnings when building for debian
[platform/upstream/libsolv.git]
/
tools
/
mergesolv.c
diff --git
a/tools/mergesolv.c
b/tools/mergesolv.c
index
0d6075c
..
8ff4857
100644
(file)
--- a/
tools/mergesolv.c
+++ b/
tools/mergesolv.c
@@
-94,7
+94,11
@@
main(int argc, char **argv)
perror(argv[optind]);
exit(1);
}
- repo_add_solv(repo, fp, 0);
+ if (repo_add_solv(repo, fp, 0))
+ {
+ fprintf(stderr, "repo %s: %s\n", argv[optind], pool_errstr(pool));
+ exit(1);
+ }
fclose(fp);
}
tool_write(repo, basefile, 0);