aboutsummaryrefslogtreecommitdiff
path: root/hw/blizzard.c
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2012-05-24 10:42:25 -0300
committerLuiz Capitulino <lcapitulino@redhat.com>2012-09-05 15:48:57 -0300
commitd663174dcd9623c44f3af2a46de2a55d16f15c19 (patch)
treecca6ca1137338eaa95436cadf10bb730c9b8d477 /hw/blizzard.c
parentad39cf6d150e951e4c67c8120d495ae7e78054a6 (diff)
downloadqemu-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.c2
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