diff --git a/apache2/msc_xml.c b/apache2/msc_xml.c index 4c64b5d9..a24f5b77 100644 --- a/apache2/msc_xml.c +++ b/apache2/msc_xml.c @@ -241,7 +241,7 @@ int xml_process_chunk(modsec_rec *msr, const char *buf, unsigned int size, char msr->txcfg->parse_xml_into_args != MSC_XML_ARGS_ONLYARGS) { xmlParseChunk(msr->xml->parsing_ctx, buf, size, 0); if (msr->xml->parsing_ctx->wellFormed != 1) { - *error_msg = apr_psprintf(msr->mp, "XML: Failed parsing document."); + *error_msg = apr_psprintf(msr->mp, "XML: Failed to parse document."); return -1; } }