diff options
Diffstat (limited to 'chardev/char-console.c')
-rw-r--r-- | chardev/char-console.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chardev/char-console.c b/chardev/char-console.c index c824937fe6..535ed65136 100644 --- a/chardev/char-console.c +++ b/chardev/char-console.c @@ -22,14 +22,14 @@ * THE SOFTWARE. */ #include "qemu/osdep.h" -#include "char-win.h" +#include "chardev/char-win.h" static void qemu_chr_open_win_con(Chardev *chr, ChardevBackend *backend, bool *be_opened, Error **errp) { - qemu_chr_open_win_file(chr, GetStdHandle(STD_OUTPUT_HANDLE)); + win_chr_set_file(chr, GetStdHandle(STD_OUTPUT_HANDLE), true); } static void char_console_class_init(ObjectClass *oc, void *data) |