From 4de9bc7b6c96cbebbe36071c48475939eef5f2df Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 25 Apr 2015 14:52:36 -0600 Subject: [PATCH] Trivial improvement of debug output --- drivers/usbhost/usbhost_hub.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usbhost/usbhost_hub.c b/drivers/usbhost/usbhost_hub.c index 8f98ec1c0f..e6ab974ae8 100644 --- a/drivers/usbhost/usbhost_hub.c +++ b/drivers/usbhost/usbhost_hub.c @@ -219,7 +219,8 @@ static struct usbhost_registry_s g_hub = static void usbhost_hport_deactivate(FAR struct usbhost_hubport_s *hport) { - uvdbg("Deactivating: %d\n", hport->port); + uvdbg("Deactivating: %s port %d\n", + ROOTHUB(hport) ? "Root" : "Hub", hport->port); /* Don't free the control pipe of root hub ports! */