summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-09-17 11:59:45 +0300
committerPanu Matilainen <pmatilai@redhat.com>2007-09-17 11:59:45 +0300
commit53d8adadd34f94ff94121531ab8d720aac7aaa17 (patch)
tree97f886d4037d19e636f45a04a122495bbb7b2794 /rpmio
parentb2517d99673d574ea75264b910571e9f7e6ce7c1 (diff)
downloadrpm-53d8adadd34f94ff94121531ab8d720aac7aaa17.tar.gz
rpm-53d8adadd34f94ff94121531ab8d720aac7aaa17.tar.bz2
rpm-53d8adadd34f94ff94121531ab8d720aac7aaa17.zip
Oops, unbreak file opens..
Diffstat (limited to 'rpmio')
-rw-r--r--rpmio/rpmio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmio/rpmio.c b/rpmio/rpmio.c
index 902a88915..3eb8ae13a 100644
--- a/rpmio/rpmio.c
+++ b/rpmio/rpmio.c
@@ -1649,7 +1649,7 @@ fprintf(stderr, "*** Fopen fdio path %s fmode %s\n", path, fmode);
if (_rpmio_debug)
fprintf(stderr, "*** Fopen ufdio path %s fmode %s\n", path, fmode);
fd = ufdOpen(path, flags, perms);
- if (fd == NULL || !fdFileno(fd) >= 0)
+ if (fd == NULL || !(fdFileno(fd) >= 0))
return fd;
break;
default: