Don't attempt to remove /dev/fdset files. Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com> --- ui/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/console.c b/ui/console.c index 587edf4ed4..e6ac462aa0 100644 --- a/ui/console.c +++ b/ui/console.c @@ -381,7 +381,7 @@ void qmp_screendump(const char *filename, bool has_device, const char *device, } if (!ppm_save(fd, surface, errp)) { - unlink(filename); + qemu_unlink(filename); } } -- 2.24.0