diff --git a/[refs] b/[refs] index 702b4730ae64..8ba2458816f0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ff83efacf2b77a1fe8942db6613825a4b80ee5e2 +refs/heads/master: 2b28a4721e068ac89bd5435472723a1bc44442fe diff --git a/trunk/drivers/scsi/ips.c b/trunk/drivers/scsi/ips.c index bb152fb9fec7..7ed568f180ae 100644 --- a/trunk/drivers/scsi/ips.c +++ b/trunk/drivers/scsi/ips.c @@ -1576,7 +1576,7 @@ ips_make_passthru(ips_ha_t *ha, struct scsi_cmnd *SC, ips_scb_t *scb, int intr) METHOD_TRACE("ips_make_passthru", 1); scsi_for_each_sg(SC, sg, scsi_sg_count(SC), i) - length += sg[i].length; + length += sg->length; if (length < sizeof (ips_passthru_t)) { /* wrong size */