Re: [PATCH 1/1] super-intel.c: use %zu specifier for printf of size_t

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 30 Jan 2010 10:59:29 +0100
Luca Berra <bluca@xxxxxxxxxx> wrote:

> 
> Signed-off-by: Luca Berra <bluca@xxxxxxxx>
> ---
>   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
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux