aboutsummaryrefslogtreecommitdiffstats
path: root/src/hw/lsi-scsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hw/lsi-scsi.c')
-rw-r--r--src/hw/lsi-scsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hw/lsi-scsi.c b/src/hw/lsi-scsi.c
index 52332518..d5fc3e45 100644
--- a/src/hw/lsi-scsi.c
+++ b/src/hw/lsi-scsi.c
@@ -57,7 +57,7 @@ lsi_scsi_process_op(struct disk_op_s *op)
if (!CONFIG_LSI_SCSI)
return DISK_RET_EBADTRACK;
struct lsi_lun_s *llun_gf =
- container_of(op->drive_gf, struct lsi_lun_s, drive);
+ container_of(op->drive_fl, struct lsi_lun_s, drive);
u16 target = GET_GLOBALFLAT(llun_gf->target);
u16 lun = GET_GLOBALFLAT(llun_gf->lun);
u8 cdbcmd[16];