diff --git a/sys/fs/cd9660/cd9660_lookup.c b/sys/fs/cd9660/cd9660_lookup.c index 69a76d90bcbe..706a7aeee262 100644 --- a/sys/fs/cd9660/cd9660_lookup.c +++ b/sys/fs/cd9660/cd9660_lookup.c @@ -436,7 +436,7 @@ cd9660_blkatoff(vp, offset, res, bpp) &bp->b_blkno, NULL, NULL); if (error) { bp->b_error = error; - bp->b_flags |= BIO_ERROR; + bp->b_ioflags |= BIO_ERROR; brelse(bp); *bpp = NULL; return (error); diff --git a/sys/isofs/cd9660/cd9660_lookup.c b/sys/isofs/cd9660/cd9660_lookup.c index 69a76d90bcbe..706a7aeee262 100644 --- a/sys/isofs/cd9660/cd9660_lookup.c +++ b/sys/isofs/cd9660/cd9660_lookup.c @@ -436,7 +436,7 @@ cd9660_blkatoff(vp, offset, res, bpp) &bp->b_blkno, NULL, NULL); if (error) { bp->b_error = error; - bp->b_flags |= BIO_ERROR; + bp->b_ioflags |= BIO_ERROR; brelse(bp); *bpp = NULL; return (error);