From: Neil Brown <neilb@suse.de>
To: Luca Berra <bluca@comedia.it>
Cc: Dan Williams <dan.j.williams@intel.com>,
linux-raid <linux-raid@vger.kernel.org>
Subject: Re: [PATCH 1/1] super-intel.c: use %zu specifier for printf of size_t
Date: Mon, 1 Feb 2010 09:17:51 +1100 [thread overview]
Message-ID: <20100201091751.7f6c716b@notabene.brown> (raw)
In-Reply-To: <20100130095928.GD15471@maude.comedia.it>
On Sat, 30 Jan 2010 10:59:29 +0100
Luca Berra <bluca@comedia.it> wrote:
>
> Signed-off-by: Luca Berra <bluca@vodka.it>
> ---
> super-intel.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/super-intel.c b/super-intel.c
> index fcf438c..91479a2 100644
> --- a/super-intel.c
> +++ b/super-intel.c
> @@ -4076,7 +4076,7 @@ static struct mdinfo *container_content_imsm(struct supertype *st)
>
> this = malloc(sizeof(*this));
> if (!this) {
> - fprintf(stderr, Name ": failed to allocate %lu bytes\n",
> + fprintf(stderr, Name ": failed to allocate %zu bytes\n",
> sizeof(*this));
> break;
> }
Applied, thanks.
NeilBrown
prev parent reply other threads:[~2010-01-31 22:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-30 9:59 [PATCH 1/1] super-intel.c: use %zu specifier for printf of size_t Luca Berra
2010-01-31 19:56 ` Dan Williams
2010-01-31 22:17 ` Neil Brown [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=20100201091751.7f6c716b@notabene.brown \
--to=neilb@suse.de \
--cc=bluca@comedia.it \
--cc=dan.j.williams@intel.com \
--cc=linux-raid@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).