summaryrefslogtreecommitdiffhomepage
path: root/util-linux/volume_id/linux_raid.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-09-16 00:58:11 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-09-16 00:58:11 +0200
commit8dc0e1929e3af3b1673e5a8e486808386400c020 (patch)
tree0550684999338af8f15de76c5599f9dead3fdfd6 /util-linux/volume_id/linux_raid.c
parentf2c184be835fbcbd04d06fce22783c6a5d37b563 (diff)
use PACKED macro insted of open-coding GCC-ism
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/volume_id/linux_raid.c')
-rw-r--r--util-linux/volume_id/linux_raid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/volume_id/linux_raid.c b/util-linux/volume_id/linux_raid.c
index cc024692c..b691f2037 100644
--- a/util-linux/volume_id/linux_raid.c
+++ b/util-linux/volume_id/linux_raid.c
@@ -37,7 +37,7 @@ struct mdp_super_block {
uint32_t set_uuid1;
uint32_t set_uuid2;
uint32_t set_uuid3;
-} __attribute__((packed));
+} PACKED;
#define MD_RESERVED_BYTES 0x10000
#define MD_MAGIC 0xa92b4efc