summaryrefslogtreecommitdiff
path: root/extras/volume_id/libvolume_id/linux_swap.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/linux_swap.c
parent559776036744f6dc4e475851ae646ee1c0c51631 (diff)
volume_id: replace __packed__ by PACKED macro
Diffstat (limited to 'extras/volume_id/libvolume_id/linux_swap.c')
-rw-r--r--extras/volume_id/libvolume_id/linux_swap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/volume_id/libvolume_id/linux_swap.c b/extras/volume_id/libvolume_id/linux_swap.c
index 18928b8351..b4828347f7 100644
--- a/extras/volume_id/libvolume_id/linux_swap.c
+++ b/extras/volume_id/libvolume_id/linux_swap.c
@@ -34,7 +34,7 @@ struct swap_header_v1_2 {
uint32_t nr_badpages;
uint8_t uuid[16];
uint8_t volume_name[16];
-} __attribute__((__packed__)) *sw;
+} PACKED *sw;
#define LARGEST_PAGESIZE 0x4000