Patchwork s390: typo fix

login
register
mail settings
Submitter Michael S. Tsirkin
Date Dec. 13, 2009, 2:45 p.m.
Message ID <20091213144547.GA11013@redhat.com>
Download mbox | patch
Permalink /patch/41033/
State New
Headers show

Comments

Michael S. Tsirkin - Dec. 13, 2009, 2:45 p.m.
s390 code has an obvious typo, which results in:
hw/s390-virtio.c: At top level:
hw/s390-virtio.c:249: error: request for member ‘no_vga’ in something not a structure or union

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 hw/s390-virtio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Alexander Graf - Dec. 13, 2009, 5:30 p.m.
On 13.12.2009, at 15:45, Michael S. Tsirkin wrote:

> s390 code has an obvious typo, which results in:
> hw/s390-virtio.c: At top level:
> hw/s390-virtio.c:249: error: request for member ‘no_vga’ in something not a structure or union
> 
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

Ouch. Thanks for the catch!

Signed-off-by: Alexander Graf <agraf@suse.de>

Alex

Patch

diff --git a/hw/s390-virtio.c b/hw/s390-virtio.c
index e71dbe6..b567886 100644
--- a/hw/s390-virtio.c
+++ b/hw/s390-virtio.c
@@ -245,7 +245,7 @@  static QEMUMachine s390_machine = {
     .init = s390_init,
     .no_serial = 1,
     .no_parallel = 1,
-    .use_virtcon = 1.
+    .use_virtcon = 1,
     .no_vga = 1,
     .max_cpus = 255,
     .is_default = 1,