1
0
Fork 0
alistair23-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
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
gen_init_cpio.c gen_init_cpio: fixed fwrite warning 2009-12-12 13:08:17 +01:00
initramfs_data.S bzip2/lzma: fix built-in initramfs vs CONFIG_RD_GZIP 2009-01-07 00:10:27 -08:00
initramfs_data.bz2.S bzip2/lzma: fix built-in initramfs vs CONFIG_RD_GZIP 2009-01-07 00:10:27 -08:00
initramfs_data.gz.S bzip2/lzma: fix built-in initramfs vs CONFIG_RD_GZIP 2009-01-07 00:10:27 -08:00
initramfs_data.lzma.S bzip2/lzma: fix built-in initramfs vs CONFIG_RD_GZIP 2009-01-07 00:10:27 -08:00