summaryrefslogtreecommitdiff
path: root/util-linux/volume_id/unused_msdos.c
diff options
context:
space:
mode:
authorDenys Vlasenko2009-09-16 00:58:11 +0200
committerDenys Vlasenko2009-09-16 00:58:11 +0200
commit8dc0e1929e3af3b1673e5a8e486808386400c020 (patch)
tree0550684999338af8f15de76c5599f9dead3fdfd6 /util-linux/volume_id/unused_msdos.c
parentf2c184be835fbcbd04d06fce22783c6a5d37b563 (diff)
downloadbusybox-8dc0e1929e3af3b1673e5a8e486808386400c020.zip
busybox-8dc0e1929e3af3b1673e5a8e486808386400c020.tar.gz
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_msdos.c')
-rw-r--r--util-linux/volume_id/unused_msdos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/volume_id/unused_msdos.c b/util-linux/volume_id/unused_msdos.c
index 097ee67..465f22d 100644
--- a/util-linux/volume_id/unused_msdos.c
+++ b/util-linux/volume_id/unused_msdos.c
@@ -31,7 +31,7 @@ struct msdos_partition_entry {
uint8_t end_cyl;
uint32_t start_sect;
uint32_t nr_sects;
-} __attribute__((packed));
+} PACKED;
#define MSDOS_PARTTABLE_OFFSET 0x1be
#define MSDOS_SIG_OFF 0x1fe