From 260c774e9842a56eebaadd7ad63a13099eca21e0 Mon Sep 17 00:00:00 2001 From: Klaus Kaempf Date: Mon, 18 Feb 2008 09:44:34 +0000 Subject: [PATCH] add column to error output --- tools/repo_patchxml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.7.4