From 679bf60efc22c6701bee93361e44035bc438f24e Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Sun, 22 Nov 2020 19:51:07 +0900 Subject: [PATCH] drivers/usbhost/usbhost_storage.c: Fix a syslog format --- drivers/usbhost/usbhost_storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usbhost/usbhost_storage.c b/drivers/usbhost/usbhost_storage.c index 0fe12198b4..967daeff38 100644 --- a/drivers/usbhost/usbhost_storage.c +++ b/drivers/usbhost/usbhost_storage.c @@ -2144,7 +2144,7 @@ static ssize_t usbhost_write(FAR struct inode *inode, ssize_t nbytes; int ret; - uinfo("sector: %d nsectors: %d sectorsize: %d\n"); + uinfo("sector: %zu nsectors: %u\n", startsector, nsectors); DEBUGASSERT(inode && inode->i_private); priv = (FAR struct usbhost_state_s *)inode->i_private;