aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/dev/fla/fla.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/dev/fla/fla.c')
-rw-r--r--sys/contrib/dev/fla/fla.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/contrib/dev/fla/fla.c b/sys/contrib/dev/fla/fla.c
index 6de9572631198..610f1ac059551 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;