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/blizzard.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/blizzard.c')
-rw-r--r-- | hw/blizzard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/blizzard.c b/hw/blizzard.c index a2b9053..d1c9d81 100644 --- a/hw/blizzard.c +++ b/hw/blizzard.c @@ -939,7 +939,7 @@ static void blizzard_screen_dump(void *opaque, const char *filename, blizzard_update_display(opaque); if (s && ds_get_data(s->state)) - ppm_save(filename, s->state->surface); + ppm_save(filename, s->state->surface, errp); } #define DEPTH 8 |