From a66e9fd23e6431b96f8619e1e17895ed9307aecc Mon Sep 17 00:00:00 2001 From: Priyesh Padmavilasom Date: Tue, 8 Sep 2015 13:06:00 -0400 Subject: [PATCH] write debug/verbose to stdout instead of stderr --- client/goal.c | 4 ++-- client/init.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/goal.c b/client/goal.c index 99864697..612298f0 100644 --- a/client/goal.c +++ b/client/goal.c @@ -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; diff --git a/client/init.c b/client/init.c index 0a10d321..b0da9009 100644 --- a/client/init.c +++ b/client/init.c @@ -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; }