OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee13240
)
screendump: use qemu_unlink()
author
Marc-André Lureau
<marcandre.lureau@redhat.com>
Fri, 8 Nov 2019 14:17:10 +0000
(18:17 +0400)
committer
Marc-André Lureau
<marcandre.lureau@redhat.com>
Thu, 2 Jan 2020 12:29:32 +0000
(16:29 +0400)
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>
ui/console.c
patch
|
blob
|
history
diff --git
a/ui/console.c
b/ui/console.c
index
82c0b72
..
ac79d67
100644
(file)
--- a/
ui/console.c
+++ b/
ui/console.c
@@
-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);
}
}