summaryrefslogtreecommitdiff
path: root/extras/volume_id/libvolume_id/cramfs.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/cramfs.c
parent559776036744f6dc4e475851ae646ee1c0c51631 (diff)
volume_id: replace __packed__ by PACKED macro
Diffstat (limited to 'extras/volume_id/libvolume_id/cramfs.c')
-rw-r--r--extras/volume_id/libvolume_id/cramfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/volume_id/libvolume_id/cramfs.c b/extras/volume_id/libvolume_id/cramfs.c
index bf79407d9d..e099c214c8 100644
--- a/extras/volume_id/libvolume_id/cramfs.c
+++ b/extras/volume_id/libvolume_id/cramfs.c
@@ -38,9 +38,9 @@ struct cramfs_super {
uint32_t edition;
uint32_t blocks;
uint32_t files;
- } __attribute__((__packed__)) info;
+ } PACKED info;
uint8_t name[16];
-} __attribute__((__packed__));
+} PACKED;
int volume_id_probe_cramfs(struct volume_id *id, uint64_t off)
{