* grub-core/fs/hfspluscomp.c (grub_hfsplus_compress_attr): Add packed

attribute since structure is not necessarily aligned.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-05-11 09:59:59 +02:00
parent f011353675
commit d128901ace
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-05-11 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/fs/hfspluscomp.c (grub_hfsplus_compress_attr): Add packed
attribute since structure is not necessarily aligned.
2013-05-11 Andrey Borzenkov <arvidjaar@gmail.com>
* docs/grub.texi (Device syntax): Clarify description of network

View file

@ -74,7 +74,7 @@ struct grub_hfsplus_compress_attr
grub_uint32_t type;
grub_uint32_t uncompressed_inline_size;
grub_uint32_t always_0;
};
} __attribute__ ((packed));
enum
{