On Mon, Nov 22, 2010 at 11:31:40PM +0000, Colin Watson wrote: > @@ -198,6 +198,14 @@ static struct grub_partition_map grub_gp > GRUB_MOD_INIT(part_gpt) > { > grub_partition_map_register (&grub_gpt_partition_map); > +#ifdef GRUB_UTIL > + grub_gpt_partition_type_bios_boot.data1 = > + grub_cpu_to_le32 (grub_gpt_partition_type_bios_boot.data1); > + grub_gpt_partition_type_bios_boot.data2 = > + grub_cpu_to_le32 (grub_gpt_partition_type_bios_boot.data2); > + grub_gpt_partition_type_bios_boot.data3 = > + grub_cpu_to_le32 (grub_gpt_partition_type_bios_boot.data3); > +#endif > } > > GRUB_MOD_FINI(part_gpt) >
Of course the second and third of these should have been grub_cpu_to_le16. I've gone ahead and applied this, with that correction; please do correct me if you notice anything else wrong with it. -- Colin Watson [cjwat...@ubuntu.com] _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel