lkml.org 
[lkml]   [2009]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] gen_init_cpio: fixed fwrite warning
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@gentoo.org>

Applied, thanks.

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

\
 
 \ /
  Last update: 2009-12-09 13:51    [W:0.024 / U:0.876 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site