summaryrefslogtreecommitdiff
path: root/sys/scsi/scsi_all.h
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2010-09-02 11:54:45 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2010-09-02 11:54:45 +0000
commit55ef988100b3ab3caee5503da68d6de24d7ee4cd (patch)
tree494d7185dd7dd15aceeb18d0a3269011f887640b /sys/scsi/scsi_all.h
parent3f6565d47e14274b3609bf60d2aa3d644861b1df (diff)
the page_length field in the vpd page header is 2 bytes, not 1.
ok krw@ marco@ matthew@
Diffstat (limited to 'sys/scsi/scsi_all.h')
-rw-r--r--sys/scsi/scsi_all.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/scsi/scsi_all.h b/sys/scsi/scsi_all.h
index b92149de4d7..bd3690bf6d8 100644
--- a/sys/scsi/scsi_all.h
+++ b/sys/scsi/scsi_all.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsi_all.h,v 1.50 2010/09/01 04:44:26 dlg Exp $ */
+/* $OpenBSD: scsi_all.h,v 1.51 2010/09/02 11:54:44 dlg Exp $ */
/* $NetBSD: scsi_all.h,v 1.10 1996/09/12 01:57:17 thorpej Exp $ */
/*
@@ -263,8 +263,7 @@ struct scsi_inquiry_data {
struct scsi_vpd_hdr {
u_int8_t device;
u_int8_t page_code;
- u_int8_t reserved;
- u_int8_t page_length;
+ u_int8_t page_length[2];
};
struct scsi_vpd_serial {