Use stdout for error messages
This commit is contained in:
parent
0f69f9f54b
commit
bbc00990f9
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user