diff options
author | alfred <alfred@FreeBSD.org> | 2002-09-23 18:54:32 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-09-23 18:54:32 +0000 |
commit | ac315391ceb9f2631fcaa72a6ab3da6255a6598d (patch) | |
tree | 8158103cc2a98a399f6b85e558005d61c5a4bb29 /sys/dev/ida | |
parent | 5dc0248605e168960cde445de06c93cf34d5030b (diff) | |
download | FreeBSD-src-ac315391ceb9f2631fcaa72a6ab3da6255a6598d.zip FreeBSD-src-ac315391ceb9f2631fcaa72a6ab3da6255a6598d.tar.gz |
use __packed.
Diffstat (limited to 'sys/dev/ida')
-rw-r--r-- | sys/dev/ida/idareg.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ida/idareg.h b/sys/dev/ida/idareg.h index c07ff76..e06e4d4 100644 --- a/sys/dev/ida/idareg.h +++ b/sys/dev/ida/idareg.h @@ -123,13 +123,13 @@ struct ida_drive_info { u_int8_t nsectors; u_int8_t checksum; u_int8_t mirror; -} __attribute__ ((packed)); +} __packed; struct ida_controller_info { u_int8_t num_drvs; u_int32_t signature; u_int8_t firm_rev[4]; -} __attribute__ ((packed)); +} __packed; struct ida_drive_status { @@ -155,4 +155,4 @@ struct ida_drive_status { u_int8_t big_spare_repl_map[128]; u_int16_t big_repl_ok_map[8]; u_int8_t big_rebuilding; -} __attribute__ ((packed)); +} __packed; |