summaryrefslogtreecommitdiffstats
path: root/sys/dev/mly/mly.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/mly/mly.c')
-rw-r--r--sys/dev/mly/mly.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/mly/mly.c b/sys/dev/mly/mly.c
index 90f2819..ee73ae9 100644
--- a/sys/dev/mly/mly.c
+++ b/sys/dev/mly/mly.c
@@ -1294,9 +1294,11 @@ mly_complete_event(struct mly_command *mc)
static void
mly_process_event(struct mly_softc *sc, struct mly_event *me)
{
- struct scsi_sense_data *ssd = (struct scsi_sense_data *)&me->sense[0];
- char *fp, *tp;
- int bus, target, event, class, action;
+ struct scsi_sense_data_fixed *ssd;
+ char *fp, *tp;
+ int bus, target, event, class, action;
+
+ ssd = (struct scsi_sense_data_fixed *)&me->sense[0];
/*
* Errors can be reported using vendor-unique sense data. In this case, the
OpenPOWER on IntegriCloud