From 553d7ab7d03888d69c23279b7a73294d37ce5249 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Fri, 3 Aug 2012 21:15:05 +0200 Subject: sfeed_opml_import: use new exec name for errors Signed-off-by: Hiltjo Posthuma --- sfeed_opml_import.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sfeed_opml_import.c b/sfeed_opml_import.c index f328fc1..7b5839b 100644 --- a/sfeed_opml_import.c +++ b/sfeed_opml_import.c @@ -52,7 +52,7 @@ xml_parse_stream(XML_Parser parser, FILE *fp) { if(XML_Parse(parser, buffer, len, done) == XML_STATUS_ERROR && (len > 0)) { if(XML_GetErrorCode(parser) == XML_ERROR_NO_ELEMENTS) return 1; /* Ignore "no elements found" / empty document as an error */ - fprintf(stderr, "sfeed_opml_config: error parsing xml %s at line %lu column %lu\n", + fprintf(stderr, "sfeed_opml_import: error parsing xml %s at line %lu column %lu\n", XML_ErrorString(XML_GetErrorCode(parser)), (unsigned long)XML_GetCurrentLineNumber(parser), (unsigned long)XML_GetCurrentColumnNumber(parser)); return 0; @@ -65,7 +65,7 @@ int main(void) { int status; if(!(parser = XML_ParserCreate("UTF-8"))) { - fputs("sfeed_opml_config: can't create parser", stderr); + fputs("sfeed_opml_import: can't create parser", stderr); exit(EXIT_FAILURE); } XML_SetElementHandler(parser, xml_handler_start_element, xml_handler_end_element); -- cgit v1.2.3