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