Re: [PATCH] gen_init_cpio: fixed fwrite warning

From: Michal Marek
Date: Wed Dec 09 2009 - 07:48:44 EST


On 9.12.2009 12:55, Mike Frysinger wrote:
> On compilers with security warnings enabled by default, we get:
>
> usr/gen_init_cpio.c: In function âcpio_mkfileâ:
> usr/gen_init_cpio.c:357: warning: ignoring return value of âfwriteâ,
> declared with attribute warn_unused_result
>
> So check the return value and handle errors accordingly.
>
> Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>

Applied, thanks.

Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/