Skip to content

Commit

Permalink
print formatted problem string of rpm errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Priyesh Padmavilasom committed Dec 7, 2015
1 parent 075d3c1 commit 021f902
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions client/rpmtrans.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,7 @@ doCheck(PTDNFRPMTS pTS)
while(rpmpsNextIterator(psi) >= 0)
{
prob = rpmpsGetProblem(psi);
printf("Prob = %s, type = %d, nevr1=%s, nevr2=%s\n",
rpmProblemGetStr(prob),
rpmProblemGetType(prob),
rpmProblemGetPkgNEVR(prob),
rpmProblemGetAltNEVR(prob));
printf("%s\n", rpmProblemString(prob));
rpmProblemFree(prob);
}
rpmpsFreeIterator(psi);
Expand Down

0 comments on commit 021f902

Please sign in to comment.