Report actual file name that failed to open.
authorjbj <devnull@localhost>
Fri, 11 Feb 2000 23:16:47 +0000 (23:16 +0000)
committerjbj <devnull@localhost>
Fri, 11 Feb 2000 23:16:47 +0000 (23:16 +0000)
CVS patchset: 3554
CVS date: 2000/02/11 23:16:47

build/files.c

index 828c211..6965763 100644 (file)
@@ -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))) {