summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-06-16 13:19:27 -0700
committerKenneth Graunke <kenneth@whitecape.org>2010-06-21 11:31:55 -0700
commitb673ff91abec7d0ddb09a1fcddc734c3425eb8eb (patch)
tree7937a53a9a39ea0560ad370a3b6b4ba2944d10f0
parent3370c5f90b537771d73af7783434c0758ea5de29 (diff)
glcpp: Print errors on stdout instead of stderr (non-standalone version).
Otherwise, piglit marks tests as "warn" when the shader was (correctly) failing.
-rw-r--r--glcpp/pp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glcpp/pp.c b/glcpp/pp.c
index 7211bdb..04ea0a4 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;