aboutsummaryrefslogtreecommitdiff
path: root/chardev/char-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'chardev/char-file.c')
-rw-r--r--chardev/char-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chardev/char-file.c b/chardev/char-file.c
index 8bae25350d..aed4ae1569 100644
--- a/chardev/char-file.c
+++ b/chardev/char-file.c
@@ -65,7 +65,7 @@ static void qmp_chardev_open_file(Chardev *chr,
return;
}
- qemu_chr_open_win_file(chr, out);
+ win_chr_set_file(chr, out, false);
#else
int flags, in = -1, out;