diff --git a/sys/fs/cd9660/cd9660_lookup.c b/sys/fs/cd9660/cd9660_lookup.c index a7e38bb36b80..e5846527de69 100644 --- a/sys/fs/cd9660/cd9660_lookup.c +++ b/sys/fs/cd9660/cd9660_lookup.c @@ -310,7 +310,7 @@ cd9660_lookup(ap) goto notfound; } else if (!(res = isofncmp(name,len, ep->name,namelen))) { - if (isonum_711(ep->flags)&2) + if (isoflags & 2) ino = isodirino(ep, imp); else ino = dbtob(bp->b_blkno) diff --git a/sys/isofs/cd9660/cd9660_lookup.c b/sys/isofs/cd9660/cd9660_lookup.c index a7e38bb36b80..e5846527de69 100644 --- a/sys/isofs/cd9660/cd9660_lookup.c +++ b/sys/isofs/cd9660/cd9660_lookup.c @@ -310,7 +310,7 @@ cd9660_lookup(ap) goto notfound; } else if (!(res = isofncmp(name,len, ep->name,namelen))) { - if (isonum_711(ep->flags)&2) + if (isoflags & 2) ino = isodirino(ep, imp); else ino = dbtob(bp->b_blkno)