utils/mojoshader-compiler.c
changeset 885 29b6d4c4a7a2
parent 793 616980fb00bb
child 892 c45dec9f8906
--- a/utils/mojoshader-compiler.c	Wed Mar 03 09:13:26 2010 -0800
+++ b/utils/mojoshader-compiler.c	Thu Mar 04 22:59:48 2010 -0800
@@ -126,7 +126,7 @@
         int i;
         for (i = 0; i < pd->error_count; i++)
         {
-            printf("%s:%d: ERROR: %s\n",
+            fprintf(stderr, "%s:%d: ERROR: %s\n",
                     pd->errors[i].filename ? pd->errors[i].filename : "???",
                     pd->errors[i].error_position,
                     pd->errors[i].error);
@@ -168,7 +168,7 @@
         int i;
         for (i = 0; i < pd->error_count; i++)
         {
-            printf("%s:%d: ERROR: %s\n",
+            fprintf(stderr, "%s:%d: ERROR: %s\n",
                     pd->errors[i].filename ? pd->errors[i].filename : "???",
                     pd->errors[i].error_position,
                     pd->errors[i].error);