|
@@ -1200,7 +1200,7 @@ static void char_serial_test(void)
|
|
|
|
|
|
/* test tty alias */
|
|
|
qemu_opt_set(opts, "backend", "tty", &error_abort);
|
|
|
- chr = qemu_chr_new_from_opts(opts, NULL, NULL);
|
|
|
+ chr = qemu_chr_new_from_opts(opts, NULL, &error_abort);
|
|
|
g_assert_nonnull(chr);
|
|
|
object_unparent(OBJECT(chr));
|
|
|
|