From b673ff91abec7d0ddb09a1fcddc734c3425eb8eb Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Wed, 16 Jun 2010 13:19:27 -0700 Subject: [PATCH] glcpp: Print errors on stdout instead of stderr (non-standalone version). Otherwise, piglit marks tests as "warn" when the shader was (correctly) failing. --- glcpp/pp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glcpp/pp.c b/glcpp/pp.c index 7211bdb8d90..04ea0a47972 100644 --- a/glcpp/pp.c +++ b/glcpp/pp.c @@ -33,7 +33,7 @@ preprocess(void *talloc_ctx, const char **shader, size_t *shader_len) glcpp_parser_parse (parser); errors = parser->errors[0] != '\0'; - fprintf(stderr, "%s", parser->errors); + printf("%s", parser->errors); talloc_steal(talloc_ctx, parser->output); *shader = parser->output; -- 2.30.2