From 8d208fff512aa177ba4571511be58cf48a234216 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 5 Dec 2013 15:11:36 -0800 Subject: [PATCH] Print the missing provider information to stderr. --- src/dispatch_common.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/dispatch_common.c b/src/dispatch_common.c index 7b976a5..3db79c7 100644 --- a/src/dispatch_common.c +++ b/src/dispatch_common.c @@ -492,10 +492,11 @@ epoxy_print_failure_reasons(const char *name, { int i; - printf("No provider of %s found. Requires one of:\n", name); + fprintf(stderr, "No provider of %s found. " + "Requires one of:\n", name); for (i = 0; providers[i] != 0; i++) - puts(provider_names[providers[i]]); + fputs(stderr, provider_names[providers[i]]); } PUBLIC void