diff --git a/sys/contrib/dev/fla/fla.c b/sys/contrib/dev/fla/fla.c index 6de95726311..610f1ac0595 100644 --- a/sys/contrib/dev/fla/fla.c +++ b/sys/contrib/dev/fla/fla.c @@ -209,7 +209,7 @@ flastrategy(struct bio *bp) devstat_start_transaction(&sc->stats); bp->bio_resid = bp->bio_bcount; - unit = dkunit(bp->bio_dev); + unit = sc->unit; if (bp->bio_cmd == BIO_DELETE) what = DOC2K_ERASE;