diff options
Diffstat (limited to 'build/parseSpec.c')
-rw-r--r-- | build/parseSpec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build/parseSpec.c b/build/parseSpec.c index 3a7e91987..2497eec98 100644 --- a/build/parseSpec.c +++ b/build/parseSpec.c @@ -169,7 +169,8 @@ int readLine(Spec spec, int strip) retry: /* Make sure the current file is open */ if (ofi->file == NULL) { - if (!(ofi->file = fopen(ofi->fileName, "r"))) { + if (!(ofi->file = Fopen(ofi->fileName, "r"))) { + /* XXX Fstrerror */ rpmError(RPMERR_BADSPEC, _("Unable to open: %s\n"), ofi->fileName); return RPMERR_BADSPEC; |