Re: [PATCH] gen_init_cpio: fixed fwrite warning

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

 



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-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux