diff options
author | scottl <scottl@FreeBSD.org> | 2007-11-15 16:23:38 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2007-11-15 16:23:38 +0000 |
commit | c54a45c99ce2687a35d5744ae2c51ec790a3a2ef (patch) | |
tree | 820ae807e69fa9d02c1d586a07ae38f4c7b2a6d8 | |
parent | ade0868a44ac7e3305fb13449e83534f1181e371 (diff) | |
download | FreeBSD-src-c54a45c99ce2687a35d5744ae2c51ec790a3a2ef.zip FreeBSD-src-c54a45c99ce2687a35d5744ae2c51ec790a3a2ef.tar.gz |
Fix a change in the previous commit that was actually a type-o.
-rw-r--r-- | sys/cam/scsi/scsi_all.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/scsi/scsi_all.h b/sys/cam/scsi/scsi_all.h index f96381d..ae39e39 100644 --- a/sys/cam/scsi/scsi_all.h +++ b/sys/cam/scsi/scsi_all.h @@ -1340,7 +1340,7 @@ find_mode_page_10(struct scsi_mode_header_10 *mode_header) { void *page_start; - page_start = (void *)((u_int8_t *)&mode_header[2] + + page_start = (void *)((u_int8_t *)&mode_header[1] + scsi_2btoul(mode_header->blk_desc_len)); return(page_start); |