aboutsummaryrefslogtreecommitdiffstats
path: root/qemu-char-android.c
diff options
context:
space:
mode:
Diffstat (limited to 'qemu-char-android.c')
-rw-r--r--qemu-char-android.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/qemu-char-android.c b/qemu-char-android.c
index a3cfe46..7753bf9 100644
--- a/qemu-char-android.c
+++ b/qemu-char-android.c
@@ -2314,10 +2314,10 @@ CharDriverState *qemu_chr_open(const char *label, const char *filename, void (*i
CharDriverState *chr;
if (!strcmp(filename, "vc")) {
- chr = text_console_init(0);
+ chr = text_console_init_compat(label, NULL);
} else
if (strstart(filename, "vc:", &p)) {
- chr = text_console_init(p);
+ chr = text_console_init_compat(label, p);
} else
if (!strcmp(filename, "null")) {
chr = qemu_chr_open_null();