summaryrefslogtreecommitdiffhomepage
path: root/util-linux/volume_id/unused_lvm.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/unused_lvm.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/unused_lvm.c')
-rw-r--r--util-linux/volume_id/unused_lvm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/volume_id/unused_lvm.c b/util-linux/volume_id/unused_lvm.c
index caee04ba5..c3270681e 100644
--- a/util-linux/volume_id/unused_lvm.c
+++ b/util-linux/volume_id/unused_lvm.c
@@ -22,7 +22,7 @@
struct lvm1_super_block {
uint8_t id[2];
-} __attribute__((packed));
+} PACKED;
struct lvm2_super_block {
uint8_t id[8];
@@ -30,7 +30,7 @@ struct lvm2_super_block {
uint32_t crc_xl;
uint32_t offset_xl;
uint8_t type[8];
-} __attribute__((packed));
+} PACKED;
#define LVM1_SB_OFF 0x400