Re: [Qemu-devel] [PATCH 07/18] block/bochs.c: fix warning with _FORTIFY_SOURCE

2009-12-22 Thread Blue Swirl
On Sun, Dec 20, 2009 at 1:39 AM, Kirill A. Shutemov wrote: >  CC    block/bochs.o > cc1: warnings being treated as errors > block/bochs.c: In function 'seek_to_sector': > block/bochs.c:202: error: ignoring return value of 'read', declared with > attribute warn_unused_result > make: *** [block/boc

[Qemu-devel] [PATCH 07/18] block/bochs.c: fix warning with _FORTIFY_SOURCE

2009-12-19 Thread Kirill A. Shutemov
CCblock/bochs.o cc1: warnings being treated as errors block/bochs.c: In function 'seek_to_sector': block/bochs.c:202: error: ignoring return value of 'read', declared with attribute warn_unused_result make: *** [block/bochs.o] Error 1 Signed-off-by: Kirill A. Shutemov --- block/bochs.c |