Patchwork [5/7] spice-qemu-char.c: Show what name is unsupported

login
register
mail settings
Submitter Stefan Hajnoczi
Date April 20, 2012, 12:52 p.m.
Message ID <1334926356-7807-6-git-send-email-stefanha@linux.vnet.ibm.com>
Download mbox | patch
Permalink /patch/154034/
State New
Headers show

Comments

Stefan Hajnoczi - April 20, 2012, 12:52 p.m.
From: Eduardo Elias Ferreira <edusf@linux.vnet.ibm.com>

Signed-off-by: Eduardo Elias Ferreira <edusf@linux.vnet.ibm.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
---
 spice-qemu-char.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/spice-qemu-char.c b/spice-qemu-char.c
index 1e735ff..09aa22d 100644
--- a/spice-qemu-char.c
+++ b/spice-qemu-char.c
@@ -209,7 +209,7 @@  CharDriverState *qemu_chr_open_spice(QemuOpts *opts)
         }
     }
     if (subtype == NULL) {
-        fprintf(stderr, "spice-qemu-char: unsupported name\n");
+        fprintf(stderr, "spice-qemu-char: unsupported name: %s\n", name);
         print_allowed_subtypes();
         return NULL;
     }