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/vmware_vga.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/vmware_vga.c')
-rw-r--r-- | hw/vmware_vga.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c index 29750e1..b68e883 100644 --- a/hw/vmware_vga.c +++ b/hw/vmware_vga.c @@ -1015,7 +1015,7 @@ static void vmsvga_screen_dump(void *opaque, const char *filename, bool cswitch, if (s->depth == 32) { DisplaySurface *ds = qemu_create_displaysurface_from(s->width, s->height, 32, ds_get_linesize(s->vga.ds), s->vga.vram_ptr); - ppm_save(filename, ds); + ppm_save(filename, ds, errp); g_free(ds); } } |