mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06: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:
parent
ee13240e60
commit
53a61ecbb1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue