]> granicus.if.org Git - libexpat/commitdiff
Use stdout for error messages
authorJames Clark <jjc@jclark.com>
Tue, 10 Feb 1998 01:53:54 +0000 (01:53 +0000)
committerJames Clark <jjc@jclark.com>
Tue, 10 Feb 1998 01:53:54 +0000 (01:53 +0000)
expat/xmlwf/xmlwf.c

index 7a6f77cff2a8bbc0ff4a3d519f1bb55bb35c321e..dfc0c44422c7397e847d9203ae06811736ad7330 100755 (executable)
@@ -118,7 +118,7 @@ void reportError(XML_Parser parser, const char *filename)
   int code = XML_GetErrorCode(parser);
   const char *message = XML_ErrorString(code);
   if (message)
-    fprintf(stderr, "%s:%d:%ld: %s\n",
+    fprintf(stdout, "%s:%d:%ld: %s\n",
            filename,
            XML_GetErrorLineNumber(parser),
            XML_GetErrorColumnNumber(parser),