Re: [PATCH spice-gtk] coroutine: abort on OOM or impossible conditions

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

 



On Tue, Nov 19, 2013 at 10:23:00PM +0100, Marc-André Lureau wrote:
> @@ -76,20 +74,13 @@ int coroutine_init(struct coroutine *co)
>  			    MAP_PRIVATE | MAP_ANONYMOUS,
>  			    -1, 0);
>  	if (co->cc.stack == MAP_FAILED)
> -		g_error("Failed to allocate %u bytes for coroutine stack: %s",
> -			(unsigned)co->stack_size, strerror(errno));
> +		g_error("mmap(%zu) failed: %s", co->stack_size, g_strerror(errno));

This should be G_GSIZE_FORMAT

Christophe

Attachment: pgpEcHvG52VAE.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]