diff options
author | Zhang Qiang <qiang.z.zhang@intel.com> | 2013-08-21 15:40:35 +0800 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-06-11 17:48:03 +0300 |
commit | b92ddda3848bb4f48f4609c455f81d0d125859c6 (patch) | |
tree | b44e2a801356f7ad7281551ca252056ab1f4f078 | |
parent | 4ee115e2ace26c084ed295d51cac1f4a1a628cd7 (diff) | |
download | librpm-tizen-b92ddda3848bb4f48f4609c455f81d0d125859c6.tar.gz librpm-tizen-b92ddda3848bb4f48f4609c455f81d0d125859c6.tar.bz2 librpm-tizen-b92ddda3848bb4f48f4609c455f81d0d125859c6.zip |
fix segmentation fault error while parsing spec
fixes: #1204
-rw-r--r-- | build/parseReqs.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |