* grub-core/fs/hfspluscomp.c (grub_hfsplus_compress_attr): Add packed
attribute since structure is not necessarily aligned.
This commit is contained in:
parent
f011353675
commit
d128901ace
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
2013-05-11 Andrey Borzenkov <arvidjaar@gmail.com>
|
||||||
|
|
||||||
* docs/grub.texi (Device syntax): Clarify description of network
|
* docs/grub.texi (Device syntax): Clarify description of network
|
||||||
|
|
|
@ -74,7 +74,7 @@ struct grub_hfsplus_compress_attr
|
||||||
grub_uint32_t type;
|
grub_uint32_t type;
|
||||||
grub_uint32_t uncompressed_inline_size;
|
grub_uint32_t uncompressed_inline_size;
|
||||||
grub_uint32_t always_0;
|
grub_uint32_t always_0;
|
||||||
};
|
} __attribute__ ((packed));
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue