• K
    hw/pc.c: fix warnings with _FORTIFY_SOURCE · 5a41ecc5
    Kirill A. Shutemov 提交于
      CC    i386-softmmu/pc.o
    cc1: warnings being treated as errors
    /usr/src/RPM/BUILD/qemu-0.11.92/hw/pc.c: In function 'load_multiboot':
    /usr/src/RPM/BUILD/qemu-0.11.92/hw/pc.c:614: error: ignoring return value of 'fread', declared with attribute warn_unused_result
    /usr/src/RPM/BUILD/qemu-0.11.92/hw/pc.c: In function 'load_linux':
    /usr/src/RPM/BUILD/qemu-0.11.92/hw/pc.c:888: error: ignoring return value of 'fread', declared with attribute warn_unused_result
    /usr/src/RPM/BUILD/qemu-0.11.92/hw/pc.c:889: error: ignoring return value of 'fread', declared with attribute warn_unused_result
    make[1]: *** [pc.o] Error 1
    Signed-off-by: NKirill A. Shutemov <kirill@shutemov.name>
    Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
    5a41ecc5
pc.c 40.0 KB