]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/fs/udf.c (grub_udf_partmap): Add packed attribute
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 13 Dec 2011 12:58:33 +0000 (13:58 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 13 Dec 2011 12:58:33 +0000 (13:58 +0100)
as it's not necessarily aligned.

ChangeLog
grub-core/fs/udf.c

index 13b49c0b3120ba4cebe35c2ddeb5925b033a93b9..159c149649187a3e8a76974ab42c55d30359ae93 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-12-13  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/fs/udf.c (grub_udf_partmap): Add packed attribute
+       as it's not necessarily aligned.
+
 2011-12-13  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * grub-core/kern/mips/qemu_mips/init.c (grub_at_keyboard_init): Remove
index 4097fd2e6c7dc21385eea841c9c467047fe1f9f4..537bb37f0ec35f8bf478d4d92c720c67425cec63 100644 (file)
@@ -317,7 +317,7 @@ struct grub_udf_partmap
       grub_uint8_t ident[62];
     } type2;
   };
-};
+} __attribute__ ((packed));
 
 struct grub_udf_lvd
 {