On Thu, Jun 26, 2008 at 12:54:54PM -0400, Pavel Roskin wrote:
> +           dos_part = grub_cpu_to_le32 (root_dev->disk->partition->index);
> +           bsd_part = grub_cpu_to_le32 (-1);
> [...]
>    grub_util_info ("dos partition is %d, bsd partition is %d",
> -               grub_le_to_cpu32 (*install_dos_part),
> -               grub_le_to_cpu32 (*install_bsd_part));
> +               grub_le_to_cpu32 (dos_part), grub_le_to_cpu32 (bsd_part));

You're doing endian conversion twice.

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What good is a phone call… if you are unable to speak?
(as seen on /.)


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to