spice-qemu-char.c: Show what name is unsupported

Signed-off-by: Eduardo Elias Ferreira <edusf@linux.vnet.ibm.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
This commit is contained in:
Eduardo Elias Ferreira 2012-04-16 09:51:42 -03:00 committed by Stefan Hajnoczi
parent 4d6145488c
commit 4f5c017738

View File

@ -209,7 +209,7 @@ CharDriverState *qemu_chr_open_spice(QemuOpts *opts)
} }
} }
if (subtype == NULL) { if (subtype == NULL) {
fprintf(stderr, "spice-qemu-char: unsupported name\n"); fprintf(stderr, "spice-qemu-char: unsupported name: %s\n", name);
print_allowed_subtypes(); print_allowed_subtypes();
return NULL; return NULL;
} }