summaryrefslogtreecommitdiff
path: root/build/parseScript.c
diff options
context:
space:
mode:
authormarc <devnull@localhost>1998-05-27 02:17:21 +0000
committermarc <devnull@localhost>1998-05-27 02:17:21 +0000
commit45570444844be9203b28d6ed8dd9b238eeb7e1a5 (patch)
tree33b82e656f614d9e504b2994dcfce9bc0153595e /build/parseScript.c
parent1789870b35cdbd1ca058bd22affe6ffd31fdacbd (diff)
downloadlibrpm-tizen-45570444844be9203b28d6ed8dd9b238eeb7e1a5.tar.gz
librpm-tizen-45570444844be9203b28d6ed8dd9b238eeb7e1a5.tar.bz2
librpm-tizen-45570444844be9203b28d6ed8dd9b238eeb7e1a5.zip
Fix segfault
CVS patchset: 2136 CVS date: 1998/05/27 02:17:21
Diffstat (limited to 'build/parseScript.c')
-rw-r--r--build/parseScript.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/parseScript.c b/build/parseScript.c
index cf83a925f..048ad3ed2 100644
--- a/build/parseScript.c
+++ b/build/parseScript.c
@@ -131,7 +131,7 @@ int parseScript(Spec spec, int parsePart)
if (prog[0] != '/') {
rpmError(RPMERR_BADSPEC,
"line %d: script program must begin "
- "with \'/\': %s", prog);
+ "with \'/\': %s", spec->lineNum, prog);
FREE(argv);
poptFreeContext(optCon);
return RPMERR_BADSPEC;