aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hptiop
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2009-03-25 00:57:09 +0000
committerXin LI <delphij@FreeBSD.org>2009-03-25 00:57:09 +0000
commite88ad97fcdfa8869177e6601efd0f42086780942 (patch)
tree203965cb21c841d30ac8613ab0cf4155f92c5441 /sys/dev/hptiop
parentfa332705da9f4f0f5d8702d7bf9f34dde939147e (diff)
Notes
Diffstat (limited to 'sys/dev/hptiop')
-rw-r--r--sys/dev/hptiop/hptiop.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hptiop/hptiop.h b/sys/dev/hptiop/hptiop.h
index 0f74592d61de..a77c76ba26d7 100644
--- a/sys/dev/hptiop/hptiop.h
+++ b/sys/dev/hptiop/hptiop.h
@@ -260,7 +260,7 @@ struct hpt_iop_ioctl_param {
unsigned long lpOutBuffer; /* output data buffer */
u_int32_t nOutBufferSize; /* size of output data buffer */
unsigned long lpBytesReturned; /* count of HPT_U8s returned */
-};
+} __attribute__((packed));
#define HPT_IOCTL_FLAG_OPEN 1
#define HPT_CTL_CODE_BSD_TO_IOP(x) ((x)-0xff00)