From eae50c69b31cd5872ddfb1673246664bdc22616d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Schmidt?= Date: Sun, 26 Mar 2000 12:01:27 +0000 Subject: [PATCH] Correct a mishap in phk's BIO_* changes. --- sys/dev/ata/atapi-cd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ata/atapi-cd.c b/sys/dev/ata/atapi-cd.c index 4735d1ad1e0b..cf4e64557437 100644 --- a/sys/dev/ata/atapi-cd.c +++ b/sys/dev/ata/atapi-cd.c @@ -1181,7 +1181,7 @@ acd_start(struct atapi_softc *atp) devstat_start_transaction(cdp->stats); - atapi_queue_cmd(cdp->atp, ccb, bp->b_data, bp->b_bcount, + atapi_queue_cmd(cdp->atp, ccb, bp->b_data, count * cdp->block_size, (bp->b_iocmd == BIO_READ)?ATPR_F_READ : 0, 30, acd_done, bp); }