Patchwork qemu-char: Fix typo in virtual console registration

login
register
mail settings
Submitter Jan Kiszka
Date March 14, 2013, 7:28 p.m.
Message ID <514224D9.20008@siemens.com>
Download mbox | patch
Permalink /patch/227784/
State New
Headers show

Comments

Jan Kiszka - March 14, 2013, 7:28 p.m.
Regression of 01f45d986f.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 ui/console.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Anthony Liguori - March 14, 2013, 9:31 p.m.
Jan Kiszka <jan.kiszka@siemens.com> writes:

> Regression of 01f45d986f.
>
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>

Yeah, another version of this will be pushed shortly from Gerd.

Regards,

Anthony Liguori

> ---
>  ui/console.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/ui/console.c b/ui/console.c
> index 83a6fa3..0f96177 100644
> --- a/ui/console.c
> +++ b/ui/console.c
> @@ -1742,7 +1742,7 @@ PixelFormat qemu_default_pixelformat(int bpp)
>  
>  static void register_types(void)
>  {
> -    register_char_driver("vc", text_console_init);
> +    register_char_driver("vc", vc_init);
>  }
>  
>  type_init(register_types);
> -- 
> 1.7.3.4

Patch

diff --git a/ui/console.c b/ui/console.c
index 83a6fa3..0f96177 100644
--- a/ui/console.c
+++ b/ui/console.c
@@ -1742,7 +1742,7 @@  PixelFormat qemu_default_pixelformat(int bpp)
 
 static void register_types(void)
 {
-    register_char_driver("vc", text_console_init);
+    register_char_driver("vc", vc_init);
 }
 
 type_init(register_types);