Skip to content

Commit

Permalink
write debug/verbose to stdout instead of stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
Priyesh Padmavilasom committed Sep 8, 2015
1 parent 169b321 commit a66e9fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions client/goal.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,11 +266,11 @@ TDNFGoalReportProblems(
nCount = hy_goal_count_problems(hGoal);
if(nCount > 0)
{
fprintf(stderr, "Found %d problem(s) while resolving\n", nCount);
fprintf(stdout, "Found %d problem(s) while resolving\n", nCount);
for(; i < nCount; ++i)
{
pszProblem = hy_goal_describe_problem(hGoal, i);
fprintf(stderr, "%d. %s\n", i+1, pszProblem);
fprintf(stdout, "%d. %s\n", i+1, pszProblem);

hy_free(pszProblem);
pszProblem = NULL;
Expand Down
2 changes: 1 addition & 1 deletion client/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ TDNFRefreshSack(
if(pTempRepo->nSkipIfUnavailable)
{
pTempRepo->nEnabled = 0;
fprintf(stderr, "Disabling Repo: '%s'\n", pTempRepo->pszName);
fprintf(stdout, "Disabling Repo: '%s'\n", pTempRepo->pszName);

dwError = 0;
}
Expand Down

0 comments on commit a66e9fd

Please sign in to comment.