From: Stefan Beller Date: Wed, 08 Aug 2018 22:17:43 GMT Subject: [PATCH 01/10] string_list: print_string_list to use trace_printf Message-ID: <20180808221752.195419-2-sbeller@google.com> In-Reply-To: <20180808221752.195419-1-sbeller@google.com> It is a debugging aid, so it should print to the debugging channel. Signed-off-by: Stefan Beller --- string-list.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/string-list.c b/string-list.c index 771c4550980..9f651bb4294 100644 --- a/string-list.c +++ b/string-list.c @@ -200,9 +200,9 @@ void print_string_list(const struct string_list *p, const char *text) { int i; if ( text ) - printf("%s\n", text); + trace_printf("%s\n", text); for (i = 0; i < p->nr; i++) - printf("%s:%p\n", p->items[i].string, p->items[i].util); + trace_printf("%s:%p\n", p->items[i].string, p->items[i].util); } struct string_list_item *string_list_append_nodup(struct string_list *list, -- 2.18.0.597.ga71716f1ad-goog