From d9b569b4d364d75436b7b335ba801a3067de4ae7 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 4 Dec 2020 21:58:04 +0900 Subject: [PATCH] drivers/usbdev/adb.c: Fix a syslog format --- drivers/usbdev/adb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usbdev/adb.c b/drivers/usbdev/adb.c index d9ceb3c2bd..010fd92233 100644 --- a/drivers/usbdev/adb.c +++ b/drivers/usbdev/adb.c @@ -1147,7 +1147,7 @@ static int usbclass_setup(FAR struct usbdevclass_driver_s *driver, len = GETUINT16(ctrl->len); uinfo("type=%02x req=%02x value=%04x index=%04x len=%04x\n", - ctrl->type, ctrl->req, value, index, len); + ctrl->type, ctrl->req, value, GETUINT16(ctrl->index), len); switch (ctrl->type & USB_REQ_TYPE_MASK) {