Correct comment. scsi_sense_data is now 18 bytes, not 32.
authorkrw <krw@openbsd.org>
Tue, 13 Jul 2010 00:30:30 +0000 (00:30 +0000)
committerkrw <krw@openbsd.org>
Tue, 13 Jul 2010 00:30:30 +0000 (00:30 +0000)
sys/scsi/scsiconf.h

index 08c8ef0..e3a3db1 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: scsiconf.h,v 1.130 2010/07/01 05:11:18 krw Exp $      */
+/*     $OpenBSD: scsiconf.h,v 1.131 2010/07/13 00:30:30 krw Exp $      */
 /*     $NetBSD: scsiconf.h,v 1.35 1997/04/02 02:29:38 mycroft Exp $    */
 
 /*
@@ -472,7 +472,7 @@ struct scsi_xfer {
        size_t  resid;                  /* how much buffer was not touched */
        int     error;                  /* an error value       */
        struct  buf *bp;                /* If we need to associate with a buf */
-       struct  scsi_sense_data sense; /* 32 bytes*/
+       struct  scsi_sense_data sense;  /* 18 bytes*/
        u_int8_t status;                /* SCSI status */
        struct  scsi_generic cmdstore;  /* stash the command in here */
        /*