All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: Amos Kong <akong@redhat.com>
Cc: qemu-devel@nongnu.org, aurelien@aurel32.net
Subject: Re: [Qemu-devel] [PATCH][RESEND] qemu: jaso-parser: Output the content of invalid keyword
Date: Wed, 24 Mar 2010 05:21:55 -0700	[thread overview]
Message-ID: <4BAA03E3.8010505@twiddle.net> (raw)
In-Reply-To: <1269433020-16055-1-git-send-email-akong@redhat.com>

On 03/24/2010 05:17 AM, Amos Kong wrote:
> -    fprintf(stderr, "parse error: %s\n", msg);
> +    va_list ap;
> +    va_start(ap, msg);
> +    fprintf(stderr, "parse error: ");
> +    vfprintf(stderr, msg, ap);
> +    fprintf(stderr, "\n");

Technically you need va_end here.


r~

  reply	other threads:[~2010-03-24 12:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-24 12:17 [Qemu-devel] [PATCH][RESEND] qemu: jaso-parser: Output the content of invalid keyword Amos Kong
2010-03-24 12:21 ` Richard Henderson [this message]
2010-03-24 15:12   ` [Qemu-devel] [PATCH] " Amos Kong
2010-03-24 16:00     ` Markus Armbruster
2010-03-24 16:00       ` Markus Armbruster
2010-03-24 20:38       ` Luiz Capitulino
2010-03-24 20:38         ` Luiz Capitulino
2010-03-24 17:25     ` Richard Henderson
2010-03-24 17:25       ` [Qemu-devel] " Richard Henderson
2010-03-24 15:12   ` Amos Kong

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=4BAA03E3.8010505@twiddle.net \
    --to=rth@twiddle.net \
    --cc=akong@redhat.com \
    --cc=aurelien@aurel32.net \
    --cc=qemu-devel@nongnu.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.