summaryrefslogtreecommitdiff
path: root/extras/volume_id/libvolume_id/msdos.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-02-21 18:44:18 +0100
committerKay Sievers <kay.sievers@suse.de>2006-02-21 18:44:18 +0100
commit467546b586e9ae29ac168967f5cdaac696cadcfb (patch)
tree21e5a908ab1bb9d057134df39afb6ce384f5a8f4 /extras/volume_id/libvolume_id/msdos.c
parent559776036744f6dc4e475851ae646ee1c0c51631 (diff)
volume_id: replace __packed__ by PACKED macro
Diffstat (limited to 'extras/volume_id/libvolume_id/msdos.c')
-rw-r--r--extras/volume_id/libvolume_id/msdos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/volume_id/libvolume_id/msdos.c b/extras/volume_id/libvolume_id/msdos.c
index a66046052a..ca3801a8db 100644
--- a/extras/volume_id/libvolume_id/msdos.c
+++ b/extras/volume_id/libvolume_id/msdos.c
@@ -38,7 +38,7 @@ struct msdos_partition_entry {
uint8_t end_cyl;
uint32_t start_sect;
uint32_t nr_sects;
-} __attribute__((packed));
+} PACKED;
#define MSDOS_MAGIC "\x55\xaa"
#define MSDOS_PARTTABLE_OFFSET 0x1be