summaryrefslogtreecommitdiff
path: root/util-linux/volume_id/linux_swap.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/volume_id/linux_swap.c')
-rw-r--r--util-linux/volume_id/linux_swap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/volume_id/linux_swap.c b/util-linux/volume_id/linux_swap.c
index c9b62e9..7ae4516 100644
--- a/util-linux/volume_id/linux_swap.c
+++ b/util-linux/volume_id/linux_swap.c
@@ -27,7 +27,7 @@ struct swap_header_v1_2 {
uint32_t nr_badpages;
uint8_t uuid[16];
uint8_t volume_name[16];
-} __attribute__((__packed__));
+} PACKED;
#define LARGEST_PAGESIZE 0x4000