summaryrefslogtreecommitdiffhomepage
path: root/util-linux/volume_id/ext.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/ext.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/ext.c')
-rw-r--r--util-linux/volume_id/ext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/volume_id/ext.c b/util-linux/volume_id/ext.c
index b052e04ce..e4097737b 100644
--- a/util-linux/volume_id/ext.c
+++ b/util-linux/volume_id/ext.c
@@ -37,7 +37,7 @@ struct ext2_super_block {
uint32_t feature_ro_compat;
uint8_t uuid[16];
uint8_t volume_name[16];
-} __attribute__((__packed__));
+} PACKED;
#define EXT3_FEATURE_COMPAT_HAS_JOURNAL 0x00000004
#define EXT3_FEATURE_INCOMPAT_JOURNAL_DEV 0x00000008