grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] skip over invalid BSD partitions


From: Marco Gerards
Subject: Re: [PATCH] skip over invalid BSD partitions
Date: Tue, 05 Aug 2008 12:16:04 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Robert Millan <address@hidden> writes:

> On Fri, Aug 01, 2008 at 12:40:17PM +0200, Marco Gerards wrote:
>> > -              return grub_error (GRUB_ERR_BAD_PART_TABLE,
>> > -                                 "no space for disk label");
>> > -
>> > +              {
>> > +                grub_error (GRUB_ERR_BAD_PART_TABLE,
>> > +                            "no space for disk label");
>> > +                continue;
>> > +              }
>> 
>> If you continue as no error occured, why do you throw an error?
>
> Uhm nobody's going to handle this error.  The caller will simply see that
> some partitions are not processed.
>
> How about using grub_dprintf instead?

Agreed.

--
Marco





reply via email to

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