From b92ddda3848bb4f48f4609c455f81d0d125859c6 Mon Sep 17 00:00:00 2001 From: Zhang Qiang Date: Wed, 21 Aug 2013 15:40:35 +0800 Subject: fix segmentation fault error while parsing spec fixes: #1204 --- build/parseReqs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/parseReqs.c b/build/parseReqs.c index f9fb2fcda..4fea960c3 100644 --- a/build/parseReqs.c +++ b/build/parseReqs.c @@ -124,7 +124,7 @@ rpmRC parseRCPOT(rpmSpec spec, Package pkg, const char *field, rpmTagVal tagN, */ if (isascii(r[0]) && !(risalnum(r[0]) || r[0] == '_' || r[0] == '/')) { rpmlog(RPMLOG_INFO, - _("line %s: Dependency tokens must begin with alpha-numeric, '_' or '/': %s\n"), + _("line %d: Dependency tokens must begin with alpha-numeric, '_' or '/': %s\n"), spec->lineNum, spec->line); } -- cgit v1.2.3