From d9fdebe04598bf96fc017e0443681ba19fb01fd5 Mon Sep 17 00:00:00 2001 From: joerg Date: Sat, 10 May 1997 12:13:17 +0000 Subject: Add the D_DISK flag to the cdevsw structs of various CD-ROM drivers. --- sys/scsi/worm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/scsi/worm.c') diff --git a/sys/scsi/worm.c b/sys/scsi/worm.c index cf50c65..08906ac 100644 --- a/sys/scsi/worm.c +++ b/sys/scsi/worm.c @@ -43,7 +43,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: worm.c,v 1.36 1997/04/04 22:12:55 jkh Exp $ + * $Id: worm.c,v 1.37 1997/05/05 13:35:01 joerg Exp $ */ #include "opt_bounce.h" @@ -155,7 +155,7 @@ static d_strategy_t wormstrategy; static struct cdevsw worm_cdevsw; static struct bdevsw worm_bdevsw = { wormopen, wormclose, wormstrategy, wormioctl, /*23*/ - nodump, nopsize, 0, "worm", &worm_cdevsw, -1 }; + nodump, nopsize, D_DISK, "worm", &worm_cdevsw, -1 }; static int -- cgit v1.1