diff options
author | jkh <jkh@FreeBSD.org> | 1998-12-06 11:36:24 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1998-12-06 11:36:24 +0000 |
commit | 31272c42649f3eb720c57c7a90d8b05b58392f55 (patch) | |
tree | f19c522a4c129dc58e63d198855da00438d984ea /sys/isofs/cd9660/cd9660_vfsops.c | |
parent | f7df7a8c9ec64c73c4f9169aa69abd7d05b2ce33 (diff) | |
download | FreeBSD-src-31272c42649f3eb720c57c7a90d8b05b58392f55.zip FreeBSD-src-31272c42649f3eb720c57c7a90d8b05b58392f55.tar.gz |
MFC: loosen compare even though bde doesn't like it.
Diffstat (limited to 'sys/isofs/cd9660/cd9660_vfsops.c')
-rw-r--r-- | sys/isofs/cd9660/cd9660_vfsops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/isofs/cd9660/cd9660_vfsops.c b/sys/isofs/cd9660/cd9660_vfsops.c index 69e3ebd..18ff3f4 100644 --- a/sys/isofs/cd9660/cd9660_vfsops.c +++ b/sys/isofs/cd9660/cd9660_vfsops.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)cd9660_vfsops.c 8.18 (Berkeley) 5/22/95 - * $Id: cd9660_vfsops.c,v 1.44 1998/09/14 19:56:39 sos Exp $ + * $Id: cd9660_vfsops.c,v 1.45 1998/10/25 19:26:18 bde Exp $ */ #include <sys/param.h> @@ -122,13 +122,13 @@ iso_get_ssector(dev, p) if (ioctlp == NULL) return 0; - if (ioctlp(dev, CDIOREADTOCHEADER, (caddr_t)&h, FREAD, p) == -1) + if (ioctlp(dev, CDIOREADTOCHEADER, (caddr_t)&h, FREAD, p) != 0) return 0; for (i = h.ending_track; i >= 0; i--) { t.address_format = CD_LBA_FORMAT; t.track = i; - if (ioctlp(dev, CDIOREADTOCENTRY, (caddr_t)&t, FREAD, p) == -1) + if (ioctlp(dev, CDIOREADTOCENTRY, (caddr_t)&t, FREAD, p) != 0) return 0; if ((t.entry.control & 4) != 0) /* found a data track */ |