summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-09-23 18:54:32 +0000
committeralfred <alfred@FreeBSD.org>2002-09-23 18:54:32 +0000
commitac315391ceb9f2631fcaa72a6ab3da6255a6598d (patch)
tree8158103cc2a98a399f6b85e558005d61c5a4bb29 /sys/cam
parent5dc0248605e168960cde445de06c93cf34d5030b (diff)
downloadFreeBSD-src-ac315391ceb9f2631fcaa72a6ab3da6255a6598d.zip
FreeBSD-src-ac315391ceb9f2631fcaa72a6ab3da6255a6598d.tar.gz
use __packed.
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/scsi/scsi_low.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/cam/scsi/scsi_low.h b/sys/cam/scsi/scsi_low.h
index 31229a7..34d66a2 100644
--- a/sys/cam/scsi/scsi_low.h
+++ b/sys/cam/scsi/scsi_low.h
@@ -361,7 +361,7 @@ struct lun_info {
u_int8_t sd_len;
u_int8_t sd_sp2[2];
u_int8_t sd_support;
- } __attribute__((packed)) li_inq;
+ } __packed li_inq;
/* modeq buffer */
struct scsi_low_mode_sense_data {
@@ -373,7 +373,7 @@ struct lun_info {
u_int8_t cmp_qc;
u_int8_t cmp_eca;
u_int8_t cmp_spare[3];
- } __attribute__((packed)) sms_cmp;
+ } __packed sms_cmp;
} li_sms;
};
OpenPOWER on IntegriCloud