summaryrefslogtreecommitdiff
path: root/gusb/gusb-device-list.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-11-20 14:18:18 +0000
committerRichard Hughes <richard@hughsie.com>2014-11-20 14:18:18 +0000
commitfb08d9a0d5ae44e0b176fdd1b9fa399670746fd3 (patch)
treebfc7c18940c7ff9250025573bb9ec98529f13eb0 /gusb/gusb-device-list.c
parentabb3181b0f57146e3ce860772a038aa4f7e88b63 (diff)
downloadgusb-fb08d9a0d5ae44e0b176fdd1b9fa399670746fd3.tar.gz
trivial: Downgrade the polling message to a G_LOG_LEVEL_DEBUG
Diffstat (limited to 'gusb/gusb-device-list.c')
-rw-r--r--gusb/gusb-device-list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gusb/gusb-device-list.c b/gusb/gusb-device-list.c
index d35a66b..20dc3b1 100644
--- a/gusb/gusb-device-list.c
+++ b/gusb/gusb-device-list.c
@@ -406,10 +406,10 @@ g_usb_device_list_coldplug (GUsbDeviceList *list)
/* fall back to polling for platforms without hotplug capability */
if (!libusb_has_capability (LIBUSB_CAP_HAS_HOTPLUG)) {
g_usb_device_list_rescan (list);
+ g_debug ("platform does not do hotplug, using polling");
priv->hotplug_poll_id = g_timeout_add_seconds (1,
g_usb_device_list_rescan_cb,
list);
- g_warning ("Platform does not have hotplug cap, using polling");
priv->done_coldplug = TRUE;
return;
}