[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] block/qcow2: Add missing GCC_FMT_ATTR to functi
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH] block/qcow2: Add missing GCC_FMT_ATTR to function report_unsupported() |
Date: |
Tue, 24 Apr 2012 09:51:58 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 |
Am 23.04.2012 22:54, schrieb Stefan Weil:
> Cc: Kevin Wolf <address@hidden>
> Signed-off-by: Stefan Weil <address@hidden>
> ---
> block/qcow2.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/block/qcow2.c b/block/qcow2.c
> index ad46c03..d03e31c 100644
> --- a/block/qcow2.c
> +++ b/block/qcow2.c
> @@ -182,7 +182,7 @@ static void cleanup_unknown_header_ext(BlockDriverState
> *bs)
> }
> }
>
> -static void report_unsupported(BlockDriverState *bs, const char *fmt, ...)
> +static void GCC_FMT_ATTR(2, 3) report_unsupported(BlockDriverState *bs,
> const char *fmt, ...)
> {
> char msg[64];
> va_list ap;
Thanks, fixed to have not more than 80 characters per line and applied
to the block branch.
Kevin