From: Klaus Kaempf Date: Mon, 18 Feb 2008 09:44:34 +0000 (+0000) Subject: add column to error output X-Git-Tag: BASE-SuSE-Code-12_1-Branch~904 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=260c774e9842a56eebaadd7ad63a13099eca21e0;p=platform%2Fupstream%2Flibsolv.git add column to error output --- diff --git a/tools/repo_patchxml.c b/tools/repo_patchxml.c index b83e578..c0eb2fd 100644 --- a/tools/repo_patchxml.c +++ b/tools/repo_patchxml.c @@ -678,7 +678,7 @@ repo_add_patchxml(Repo *repo, FILE *fp, int flags) l = fread(buf, 1, sizeof(buf), fp); if (XML_Parse(parser, buf, l, l == 0) == XML_STATUS_ERROR) { - fprintf(stderr, "repo_patchxml: %s at line %u\n", XML_ErrorString(XML_GetErrorCode(parser)), (unsigned int)XML_GetCurrentLineNumber(parser)); + fprintf(stderr, "repo_patchxml: %s at line %u:%u\n", XML_ErrorString(XML_GetErrorCode(parser)), (unsigned int)XML_GetCurrentLineNumber(parser), (unsigned int)XML_GetCurrentColumnNumber(parser)); exit(1); } if (l == 0)