server: fix print text on vdagent interface addition

This commit is contained in:
Alon Levy 2010-08-29 17:21:28 +03:00
parent 673ade8a6f
commit b2f1b80a63

View File

@ -3453,7 +3453,7 @@ int spice_server_char_device_add_interface(SpiceServer *s,
sif = SPICE_CONTAINEROF(char_device->base.sif, SpiceCharDeviceInterface, base);
if (strcmp(char_device->subtype, SUBTYPE_VDAGENT) == 0) {
if (vdagent) {
red_printf("vdi port already attached");
red_printf("vdagent already attached");
return -1;
}
char_device->st = &vdagent_char_device_state;