From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] Let user specify OpenBSD root device.
Date: Fri, 16 Oct 2009 22:21:34 +0200 [thread overview]
Message-ID: <4AD8D5CE.5000602@gmail.com> (raw)
In-Reply-To: <20091016183131.GA7037@thorin>
Robert Millan wrote:
> On Fri, Oct 16, 2009 at 01:00:31PM +0200, Vladimir 'phcoder' Serbinenko wrote:
>
>> Vladimir 'phcoder' Serbinenko wrote:
>>
>>> On Wed, Aug 26, 2009 at 2:34 AM, Robert Millan<rmh@aybabtu.com> wrote:
>>>
>>>
>>>> On Tue, Aug 25, 2009 at 10:37:33PM +0200, Vladimir 'phcoder' Serbinenko wrote:
>>>>
>>>>
>>>>> + if (cmd->state[OPENBSD_ROOT_ARG].set)
>>>>> + {
>>>>> + const char *arg = cmd->state[OPENBSD_ROOT_ARG].arg;
>>>>> + int unit, part;
>>>>> + if (*(arg++) != 'w' || *(arg++) != 'd')
>>>>> + return grub_error (GRUB_ERR_BAD_ARGUMENT,
>>>>> + "Only device specifications of form "
>>>>> + "wd<number><lowercase letter> are supported.");
>>>>> +
>>>>> + unit = grub_strtoul (arg, (char **) &arg, 10);
>>>>> + if (! (arg && *arg >= 'a' && *arg <= 'z'))
>>>>> + return grub_error (GRUB_ERR_BAD_ARGUMENT,
>>>>> + "Only device specifications of form "
>>>>> + "wd<number><letter> are supported.");
>>>>>
>>>>>
>>>> Looks like the first error string could be used for both cases, saving
>>>> a few bytes.
>>>>
>>>>
>>>>
>> This was fixed. Can this patch be comitted before release to avoid
>> changing command syntax after release?
>>
>
> Ok.
>
>
Comitted
--
Regards
Vladimir 'phcoder' Serbinenko
Personal git repository: http://repo.or.cz/w/grub2/phcoder.git
prev parent reply other threads:[~2009-10-16 20:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-25 20:37 [PATCH] Let user specify OpenBSD root device Vladimir 'phcoder' Serbinenko
2009-08-26 0:34 ` Robert Millan
2009-08-26 0:39 ` Vladimir 'phcoder' Serbinenko
2009-10-16 11:00 ` Vladimir 'phcoder' Serbinenko
2009-10-16 18:31 ` Robert Millan
2009-10-16 20:21 ` Vladimir 'phcoder' Serbinenko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AD8D5CE.5000602@gmail.com \
--to=phcoder@gmail.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox