linux/usr
Mike Frysinger 6d87fea4dd gen_init_cpio: fixed fwrite warning
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>
Signed-off-by: Michal Marek <mmarek@suse.cz>
2009-12-12 13:08:17 +01:00
..
.gitignore gitignore usr/initramfs_data.cpio.bz2 and usr/initramfs_data.cpio.lzma 2009-09-20 12:27:42 +02:00
gen_init_cpio.c gen_init_cpio: fixed fwrite warning 2009-12-12 13:08:17 +01:00
initramfs_data.bz2.S
initramfs_data.gz.S
initramfs_data.lzma.S
initramfs_data.S
Kconfig bzip2/lzma: quiet Kconfig warning for INITRAMFS_COMPRESSION_NONE 2009-03-31 23:51:56 -07:00
Makefile kbuild: correct initramfs compression comment 2009-09-20 12:27:41 +02:00