summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-02-11 23:16:47 +0000
committerjbj <devnull@localhost>2000-02-11 23:16:47 +0000
commit077cd4165f3e1ee97e16762ed30df1feb46bb2c9 (patch)
treee17471586b21dd5730cf7c148449a93baae0cd00 /build
parenteebe8047cced799ccff013be9318756349777ad0 (diff)
downloadlibrpm-tizen-077cd4165f3e1ee97e16762ed30df1feb46bb2c9.tar.gz
librpm-tizen-077cd4165f3e1ee97e16762ed30df1feb46bb2c9.tar.bz2
librpm-tizen-077cd4165f3e1ee97e16762ed30df1feb46bb2c9.zip
Report actual file name that failed to open.
CVS patchset: 3554 CVS date: 2000/02/11 23:16:47
Diffstat (limited to 'build')
-rw-r--r--build/files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/files.c b/build/files.c
index 828c2114c..696576358 100644
--- a/build/files.c
+++ b/build/files.c
@@ -1162,7 +1162,7 @@ static int processPackageFiles(Spec spec, Package pkg,
if (fd == NULL || Ferror(fd)) {
rpmError(RPMERR_BADFILENAME,
_("Could not open %%files file %s: %s"),
- pkg->fileFile, Fstrerror(fd));
+ ffn, Fstrerror(fd));
return RPMERR_BADFILENAME;
}
while (fgets(buf, sizeof(buf), (FILE *)fdGetFp(fd))) {