summaryrefslogtreecommitdiff
path: root/build.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-09-30 16:11:52 +0000
committerjbj <devnull@localhost>1999-09-30 16:11:52 +0000
commit5b7c1963ebf6d543d46de2e72ac0d9615bc8598f (patch)
tree3732c9642d5de836e8db0974eba88a57cab9ae67 /build.c
parent1baa4101d6a58837ad196d987bb1fc18d62aed08 (diff)
downloadlibrpm-tizen-5b7c1963ebf6d543d46de2e72ac0d9615bc8598f.tar.gz
librpm-tizen-5b7c1963ebf6d543d46de2e72ac0d9615bc8598f.tar.bz2
librpm-tizen-5b7c1963ebf6d543d46de2e72ac0d9615bc8598f.zip
Access fd_fileno correctly.
CVS patchset: 3354 CVS date: 1999/09/30 16:11:52
Diffstat (limited to 'build.c')
-rw-r--r--build.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.c b/build.c
index e3fe075b6..0b1de4d03 100644
--- a/build.c
+++ b/build.c
@@ -57,7 +57,7 @@ static int isSpecFile(const char *specfile)
int count;
int checking;
- if ((fd = fdOpen(specfile, O_RDONLY, 0)) < 0) {
+ if (fdFileno((fd = fdOpen(specfile, O_RDONLY, 0))) < 0) {
fprintf(stderr, _("Unable to open spec file: %s\n"), specfile);
return 0;
}