mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
screendump: use qemu_unlink()
Don't attempt to remove /dev/fdset files. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
+1
-1
@@ -380,7 +380,7 @@ void qmp_screendump(const char *filename, bool has_device, const char *device,
|
||||
}
|
||||
|
||||
if (!ppm_save(fd, surface, errp)) {
|
||||
unlink(filename);
|
||||
qemu_unlink(filename);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user