Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx> --- gtk/usb-device-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/usb-device-manager.c b/gtk/usb-device-manager.c index bde9c45..630dfe8 100644 --- a/gtk/usb-device-manager.c +++ b/gtk/usb-device-manager.c @@ -918,7 +918,7 @@ static gpointer spice_usb_device_manager_usb_ev_thread(gpointer user_data) while (priv->event_thread_run) { rc = libusb_handle_events(priv->context); - if (rc) { + if (rc && rc != LIBUSB_ERROR_INTERRUPTED) { const char *desc = spice_usbutil_libusb_strerror(rc); g_warning("Error handling USB events: %s [%i]", desc, rc); } -- 1.7.12 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel