Revision 3023f332 qemu-char.c

b/qemu-char.c
2128 2128
    CharDriverState *chr;
2129 2129

  
2130 2130
    if (!strcmp(filename, "vc")) {
2131
        chr = text_console_init(&display_state, 0);
2131
        chr = text_console_init(get_displaystate(), 0);
2132 2132
    } else
2133 2133
    if (strstart(filename, "vc:", &p)) {
2134
        chr = text_console_init(&display_state, p);
2134
        chr = text_console_init(get_displaystate(), p);
2135 2135
    } else
2136 2136
    if (!strcmp(filename, "null")) {
2137 2137
        chr = qemu_chr_open_null();

Also available in: Unified diff