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