diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2012-05-24 10:42:25 -0300 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2012-09-05 15:48:57 -0300 |
commit | d663174dcd9623c44f3af2a46de2a55d16f15c19 (patch) | |
tree | cca6ca1137338eaa95436cadf10bb730c9b8d477 /hw/qxl.c | |
parent | ad39cf6d150e951e4c67c8120d495ae7e78054a6 (diff) | |
download | qemu-d663174dcd9623c44f3af2a46de2a55d16f15c19.zip qemu-d663174dcd9623c44f3af2a46de2a55d16f15c19.tar.gz qemu-d663174dcd9623c44f3af2a46de2a55d16f15c19.tar.bz2 |
vga: ppm_save(): add error handling
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'hw/qxl.c')
-rw-r--r-- | hw/qxl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1605,7 +1605,7 @@ static void qxl_hw_screen_dump(void *opaque, const char *filename, bool cswitch, case QXL_MODE_COMPAT: case QXL_MODE_NATIVE: qxl_render_update(qxl); - ppm_save(filename, qxl->ssd.ds->surface); + ppm_save(filename, qxl->ssd.ds->surface, errp); break; case QXL_MODE_VGA: vga->screen_dump(vga, filename, cswitch, errp); |