From: Marco Gerards <metgerards@student.han.nl>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [patch] printf long format
Date: Wed, 22 Jun 2005 13:05:38 +0200 [thread overview]
Message-ID: <87ekauejnh.fsf@student.han.nl> (raw)
In-Reply-To: <20050621231410.GA26213@miracle> (Hollis Blanchard's message of "Tue, 21 Jun 2005 18:14:10 -0500")
Hollis Blanchard <hollis@penguinppc.org> writes:
> Debugging a partition map bug, I was adding more grub_dprintf messages...
> and re-discovered that our printf doesn't handle e.g. "%lx" format strings (yet
> gcc requires these when printing longs).
Isn't that hexadecimal?
> * kern/misc.c (grub_vsprintf): Add `longfmt'. If format string
> contains `l' modifier, get a long from va_arg().
You forgot the first line... Please make sure the date you use is the
date you check in. With your previous commit something went wrong.
> if (*fmt && *fmt =='-')
> {
> rightfill = 1;
> fmt++;
> }
> -
> +
> p = (char *) fmt;
> /* Read formatting parameters. */
Please watch out for such stuff. I know it is annoying...
The patch looks fine to me.
Thanks,
Marco
next prev parent reply other threads:[~2005-06-22 11:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-21 23:14 [patch] printf long format Hollis Blanchard
2005-06-22 11:05 ` Marco Gerards [this message]
2005-06-22 14:33 ` Hollis Blanchard
2005-06-22 15:30 ` Yoshinori K. Okuji
2005-06-22 16:24 ` Marco Gerards
2005-06-22 17:14 ` Yoshinori K. Okuji
2005-06-22 18:09 ` Marco Gerards
2005-06-22 19:07 ` Yoshinori K. Okuji
2005-06-22 20:14 ` Marco Gerards
2005-06-22 20:53 ` Yoshinori K. Okuji
-- strict thread matches above, loose matches on Subject: below --
2005-06-21 4:00 Hollis Blanchard
2005-06-21 16:27 ` Marco Gerards
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=87ekauejnh.fsf@student.han.nl \
--to=metgerards@student.han.nl \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.