Skip to content

Commit

Permalink
output resolve errors to stderr
Browse files Browse the repository at this point in the history
Change-Id: I863bae78138b80a0934aa76c2c65253c4a31d3f5
(cherry picked from commit df91812)
  • Loading branch information
Priyesh Padmavilasom committed Sep 27, 2017
1 parent 5b54c35 commit 0220096
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/goal.c
Original file line number Diff line number Diff line change
Expand Up @@ -329,11 +329,11 @@ TDNFGoalReportProblems(
nCount = hy_goal_count_problems(hGoal);
if(nCount > 0)
{
fprintf(stdout, "Found %d problem(s) while resolving\n", nCount);
fprintf(stderr, "Found %d problem(s) while resolving\n", nCount);
for(; i < nCount; ++i)
{
pszProblem = hy_goal_describe_problem(hGoal, i);
fprintf(stdout, "%d. %s\n", i+1, pszProblem);
fprintf(stderr, "%d. %s\n", i+1, pszProblem);

hy_free(pszProblem);
pszProblem = NULL;
Expand Down

0 comments on commit 0220096

Please sign in to comment.