monitor.c: fix warnings with _FORTIFY_SOURCE
commit27e3ddd3e0e9a8454e4cd4eebff9db8cd16c1949
authorKirill A. Shutemov <kirill@shutemov.name>
Tue, 19 Jan 2010 23:56:19 +0000 (20 00:56 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 26 Jan 2010 20:59:20 +0000 (26 14:59 -0600)
treeeecedafe35ca59bbb79964ac965a1ad7241ba34b
parentdc330e282a9aa2daf1a8703140917a4a2f85397a
monitor.c: fix warnings with _FORTIFY_SOURCE

CC    i386-softmmu/monitor.o
cc1: warnings being treated as errors
/usr/src/RPM/BUILD/qemu-0.11.92/monitor.c: In function 'do_memory_save':
/usr/src/RPM/BUILD/qemu-0.11.92/monitor.c:1318: error: ignoring return value of 'fwrite', declared with attribute warn_unused_result
/usr/src/RPM/BUILD/qemu-0.11.92/monitor.c: In function 'do_physical_memory_save':
/usr/src/RPM/BUILD/qemu-0.11.92/monitor.c:1345: error: ignoring return value of 'fwrite', declared with attribute warn_unused_result
make[1]: *** [monitor.o] Error 1

Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
monitor.c