summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-09-15 10:06:18 +0200
committerAlon Levy <alevy@redhat.com>2010-12-06 18:09:15 +0200
commit5220e0a7062a5fa5dadd386b9d3a0794a4844b17 (patch)
tree332f288ce7ed9ea8a2d38a0069a00d900306e425
parent0ac9ca51f4cecce8d1146c23c3032f3dcda6954b (diff)
downloadspice-5220e0a7062a5fa5dadd386b9d3a0794a4844b17.tar.gz
spice-5220e0a7062a5fa5dadd386b9d3a0794a4844b17.tar.xz
spice-5220e0a7062a5fa5dadd386b9d3a0794a4844b17.zip
server: print subtype when adding CHAR_DEVICE interfaces
-rw-r--r--server/reds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/reds.c b/server/reds.c
index eee8f358..d71ecb15 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -3451,6 +3451,7 @@ static int spice_server_char_device_add_interface(SpiceServer *s,
SpiceCharDeviceInterface* sif;
sif = SPICE_CONTAINEROF(char_device->base.sif, SpiceCharDeviceInterface, base);
+ red_printf("CHAR_DEVICE %s", char_device->subtype);
if (strcmp(char_device->subtype, SUBTYPE_VDAGENT) == 0) {
if (vdagent) {
red_printf("vdagent already attached");
@@ -3552,7 +3553,6 @@ __visible__ int spice_server_add_interface(SpiceServer *s,
snd_attach_record(SPICE_CONTAINEROF(sin, SpiceRecordInstance, base));
} else if (strcmp(interface->type, SPICE_INTERFACE_CHAR_DEVICE) == 0) {
- red_printf("SPICE_INTERFACE_CHAR_DEVICE");
if (interface->major_version != SPICE_INTERFACE_CHAR_DEVICE_MAJOR ||
interface->minor_version < SPICE_INTERFACE_CHAR_DEVICE_MINOR) {
red_printf("unsupported char device interface");