grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Failure to embed core.img is fatal now


From: Robert Millan
Subject: Re: Failure to embed core.img is fatal now
Date: Sun, 29 Jun 2008 13:27:04 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

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 /.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]