summaryrefslogtreecommitdiff
path: root/extras/volume_id/libvolume_id/msdos.c
diff options
context:
space:
mode:
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